add debug print to descriptor creation

This commit is contained in:
fbock
2024-08-12 19:38:14 +02:00
parent b1d14f0072
commit 41d2ad3cf5

View File

@ -117,7 +117,7 @@ pub fn build_escrow_transaction_output_descriptor(
let descriptor = Descriptor::<XOnlyPublicKey>::new_tr(internal_agg_musig_key, Some(tap_root))
.context("Error assembling escrow output descriptor")?;
descriptor.sanity_check()?;
// debug!("Escrow descriptor: {}", descriptor.address(network));
debug!("Escrow descriptor: {:#?}", descriptor);
Ok(descriptor) // then spend to descriptor.address(Network::Regtest)
}