From 80bd970b1f461c5ee143751112e2ef352fa1e6f7 Mon Sep 17 00:00:00 2001 From: Dr Maxim Orlovsky Date: Sun, 9 Apr 2023 16:45:18 +0200 Subject: [PATCH] wallet: improve PSBT error description --- src/psbt/rgb.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/psbt/rgb.rs b/src/psbt/rgb.rs index f0356eaf..f736f049 100644 --- a/src/psbt/rgb.rs +++ b/src/psbt/rgb.rs @@ -80,7 +80,7 @@ impl ProprietaryKeyRgb for ProprietaryKey {} #[derive(Clone, Eq, PartialEq, Debug, Display, Error, From)] #[display(doc_comments)] pub enum RgbPsbtError { - /// The key is already present, but has a different value + /// the key is already present in PSBT, but has a different value AlreadySet, /// state transition {0} already present in PSBT is not related to the state @@ -91,7 +91,7 @@ pub enum RgbPsbtError { /// commitment. NoHostOutput, - /// too many state transitions for a bundle. + /// PSBT contains too many state transitions for a bundle. #[from(confinement::Error)] TooManyTransitionsInBundle,