From 3351dc8a5efc1b53638e65620261eab326f3eb5d Mon Sep 17 00:00:00 2001 From: grumbach Date: Wed, 31 May 2023 18:57:40 +0900 Subject: [PATCH] feat: only print dbc_id when printing SignedSpend --- src/signed_spend.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/signed_spend.rs b/src/signed_spend.rs index 13af623..c489d21 100644 --- a/src/signed_spend.rs +++ b/src/signed_spend.rs @@ -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, } @@ -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, }