From fbab28876185f6ba298331c666110ce6f6187a3d Mon Sep 17 00:00:00 2001 From: Pascal Grange Date: Wed, 13 Mar 2024 16:47:28 +0100 Subject: [PATCH] FIX python exemple `/**` at the end of a key is not allowed in a policy. --- bitcoin_client/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bitcoin_client/README.md b/bitcoin_client/README.md index 2816cc1cd..3183a9a8a 100644 --- a/bitcoin_client/README.md +++ b/bitcoin_client/README.md @@ -75,7 +75,7 @@ def main(): "", "tr(@0/**)", [ - f"[{fpr}/86'/1'/0']{first_taproot_account_pubkey}/**" + f"[{fpr}/86'/1'/0']{first_taproot_account_pubkey}" ], ) first_taproot_account_address = client.get_wallet_address( @@ -91,7 +91,7 @@ def main(): # ==> Register a multisig wallet named "Cold storage" our_pubkey = client.get_extended_pubkey("m/48'/1'/0'/2'") - other_key_info = "[76223a6e/48'/1'/0'/2']tpubDE7NQymr4AFtewpAsWtnreyq9ghkzQBXpCZjWLFVRAvnbf7vya2eMTvT2fPapNqL8SuVvLQdbUbMfWLVDCZKnsEBqp6UK93QEzL8Ck23AwF/**" + other_key_info = "[76223a6e/48'/1'/0'/2']tpubDE7NQymr4AFtewpAsWtnreyq9ghkzQBXpCZjWLFVRAvnbf7vya2eMTvT2fPapNqL8SuVvLQdbUbMfWLVDCZKnsEBqp6UK93QEzL8Ck23AwF" multisig_policy = MultisigWallet( name="Cold storage",