From ef662dd7c96d21bfe8bcb2cd1582337adf9167d6 Mon Sep 17 00:00:00 2001 From: CalDescent <> Date: Fri, 13 May 2022 18:39:38 +0100 Subject: [PATCH] Added logging --- lib/src/lightwallet.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/src/lightwallet.rs b/lib/src/lightwallet.rs index bded9bb..51f28cd 100644 --- a/lib/src/lightwallet.rs +++ b/lib/src/lightwallet.rs @@ -2653,7 +2653,7 @@ impl LightWallet { } }; - println!("{}: Adding outputs", now() - start_time); + println!("{}: Adding P2SH output", now() - start_time); if let Err(e) = match to { address::RecipientAddress::Shielded(to) => { @@ -2669,6 +2669,8 @@ impl LightWallet { return Err(e); } + println!("{}: Adding redeem script output: {}", now() - start_time, redeem_script_pubkey.to_base58()); + // Add redeem script output if let Err(e) = builder.add_transparent_output_with_script_pubkey( &TransparentAddress::PublicKey([0; 20]),