Skip to content

Commit

Permalink
feat: only print dbc_id when printing SignedSpend
Browse files Browse the repository at this point in the history
  • Loading branch information
grumbach committed May 31, 2023
1 parent 586a5d5 commit 3351dc8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/signed_spend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ pub struct SignedSpend {
/// The Spend, which together with signature over it, constitutes the SignedSpend.
pub spend: Spend,
/// The DerivedKey's signature over (the hash of) Spend, confirming that the Dbc was intended to be spent.
#[debug(skip)]
pub derived_key_sig: Signature,
}

Expand Down Expand Up @@ -113,11 +114,13 @@ pub struct Spend {
#[debug(skip)]
pub spent_tx: DbcTransaction,
/// Reason why this Dbc was spent.
#[debug(skip)]
pub reason: Hash,
/// The amount of the input Dbc.
#[debug(skip)]
pub blinded_amount: BlindedAmount,
/// The hash of the transaction that the input Dbc was created in.
#[debug(skip)]
pub dbc_creation_tx_hash: Hash,
}

Expand Down

0 comments on commit 3351dc8

Please sign in to comment.