Skip to content

Commit

Permalink
wallet: improve PSBT error description
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-orlovsky committed Apr 9, 2023
1 parent 20a4e3f commit 80bd970
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/psbt/rgb.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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,

Expand Down

0 comments on commit 80bd970

Please sign in to comment.