diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2019-02-07 15:09:08 -0800 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2019-02-15 22:36:05 -0800 |
commit | b52cb6368869c9f6dd2cd8f309b3000de514d439 (patch) | |
tree | 0279131129fc6effa9b55d08a2e5c71eb1be1694 /test | |
parent | 3b40bff9880e9ae2817136b7d14989afccfc1937 (diff) | |
download | bitcoin-b52cb6368869c9f6dd2cd8f309b3000de514d439.tar.xz |
Add getdescriptorinfo to compute checksum
Diffstat (limited to 'test')
-rwxr-xr-x | test/functional/wallet_address_types.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/functional/wallet_address_types.py b/test/functional/wallet_address_types.py index 027229111e..380dd9c0ad 100755 --- a/test/functional/wallet_address_types.py +++ b/test/functional/wallet_address_types.py @@ -175,6 +175,8 @@ class AddressTypeTest(BitcoinTestFramework): assert(descsum_check(info['desc'])) # Verify that stripping the checksum and recreating it using Python roundtrips assert(info['desc'] == descsum_create(info['desc'][:-9])) + # Verify that stripping the checksum and feeding it to getdescriptorinfo roundtrips + assert(info['desc'] == self.nodes[0].getdescriptorinfo(info['desc'][:-9])['descriptor']) if not multisig and typ == 'legacy': # P2PKH |