From: Vishal Menon Date: Tue, 20 Apr 2021 05:20:47 +0000 (+0530) Subject: removed redundnt xpub calculation for BDK key example" X-Git-Url: http://internal-gitweb-vhost/%22https:/doc.rust-lang.org/trait.impl/io/struct.Script.html?a=commitdiff_plain;h=9720e1953945632ab8be058e21176f822f41e535;p=bitcoindevkit.org removed redundnt xpub calculation for BDK key example" --- diff --git a/content/blog/2020/descriptors_in_the_wild.md b/content/blog/2020/descriptors_in_the_wild.md index b1b1e3daf1..2161e68b74 100644 --- a/content/blog/2020/descriptors_in_the_wild.md +++ b/content/blog/2020/descriptors_in_the_wild.md @@ -136,10 +136,6 @@ export BDK_key=$(bdk-cli key generate) export BDK_xprv=$(echo $BDK_key | jq -r '.xprv') -# Derived Extended Pubblic key - -export BDK_xpub_84=$(bdk-cli key derive --path m/84h/0h/0h --xprv $BDK_xprv | jq -r '.xpub' | rev | cut -c 3- | rev) - # Now I build the derived xpubs to be communicated (to Alice). export BDK_xpub_84_for_rec_desc=$(bdk-cli key derive --path m/84h/0h/0h/1 --xprv $BDK_xprv | jq -r '.xpub')