From: Vishal Menon Date: Tue, 20 Apr 2021 05:24:07 +0000 (+0530) Subject: fixed BDK rec desc to use index 0 X-Git-Url: http://internal-gitweb-vhost/script/%22https:/database/struct.MemoryDatabase.html?a=commitdiff_plain;h=ad38e4c1042804f15c4c60ea1b97bb4d537ecb2c;p=bitcoindevkit.org fixed BDK rec desc to use index 0 --- diff --git a/content/blog/2020/descriptors_in_the_wild.md b/content/blog/2020/descriptors_in_the_wild.md index 2161e68b74..fb66311d8f 100644 --- a/content/blog/2020/descriptors_in_the_wild.md +++ b/content/blog/2020/descriptors_in_the_wild.md @@ -138,7 +138,7 @@ export BDK_xprv=$(echo $BDK_key | jq -r '.xprv') # 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') +export BDK_xpub_84_for_rec_desc=$(bdk-cli key derive --path m/84h/0h/0h/0 --xprv $BDK_xprv | jq -r '.xpub') export BDK_xpub_84_for_chg_desc=$(bdk-cli key derive --path m/84h/0h/0h/1 --xprv $BDK_xprv | jq -r '.xpub') ```