From ad38e4c1042804f15c4c60ea1b97bb4d537ecb2c Mon Sep 17 00:00:00 2001 From: Vishal Menon Date: Tue, 20 Apr 2021 10:54:07 +0530 Subject: [PATCH] fixed BDK rec desc to use index 0 --- content/blog/2020/descriptors_in_the_wild.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') ``` -- 2.49.0