Skip to content

Commit

Permalink
FIX python exemple
Browse files Browse the repository at this point in the history
`/**` at the end of a key is not allowed in a policy.
  • Loading branch information
pgrange committed Mar 13, 2024
1 parent fbdc1fc commit fbab288
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bitcoin_client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -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",
Expand Down

0 comments on commit fbab288

Please sign in to comment.