Derive Clone + Debug for TxBuilder

And make Wallet Debug while I'm at it.
This commit is contained in:
LLFourn
2021-01-22 14:11:29 +11:00
parent 10fcba9439
commit 6fe3be0243
4 changed files with 8 additions and 3 deletions

View File

@@ -87,6 +87,7 @@ const CACHE_ADDR_BATCH_SIZE: u32 = 100;
/// A wallet can be either "online" if the [`blockchain`](crate::blockchain) type provided
/// implements [`Blockchain`], or "offline" if it is the unit type `()`. Offline wallets only expose
/// methods that don't need any interaction with the blockchain to work.
#[derive(Debug)]
pub struct Wallet<B, D> {
descriptor: ExtendedDescriptor,
change_descriptor: Option<ExtendedDescriptor>,