mirror of
https://github.com/RoboSats/taptrade-core.git
synced 2025-07-28 05:33:19 +00:00
add debug print to descriptor creation
This commit is contained in:
@ -117,7 +117,7 @@ pub fn build_escrow_transaction_output_descriptor(
|
|||||||
let descriptor = Descriptor::<XOnlyPublicKey>::new_tr(internal_agg_musig_key, Some(tap_root))
|
let descriptor = Descriptor::<XOnlyPublicKey>::new_tr(internal_agg_musig_key, Some(tap_root))
|
||||||
.context("Error assembling escrow output descriptor")?;
|
.context("Error assembling escrow output descriptor")?;
|
||||||
descriptor.sanity_check()?;
|
descriptor.sanity_check()?;
|
||||||
// debug!("Escrow descriptor: {}", descriptor.address(network));
|
debug!("Escrow descriptor: {:#?}", descriptor);
|
||||||
Ok(descriptor) // then spend to descriptor.address(Network::Regtest)
|
Ok(descriptor) // then spend to descriptor.address(Network::Regtest)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user