diff options
author | Sjors Provoost <sjors@sprovoost.nl> | 2021-11-23 16:12:55 +0100 |
---|---|---|
committer | Sjors Provoost <sjors@sprovoost.nl> | 2024-04-16 17:47:43 +0200 |
commit | dc55531087478d01fbde4f5fbb75375b672960c3 (patch) | |
tree | efd6e9008f057bfb1599716129fff851b7117e88 /test/functional/wallet_signer.py | |
parent | 6c1a2cc09a00baa6ff3ff34455c2243b43067fb5 (diff) | |
download | bitcoin-dc55531087478d01fbde4f5fbb75375b672960c3.tar.xz |
wallet: compare address returned by displayaddress
Update external signer documentation to reflect this requirement, which HWI already implements.
Diffstat (limited to 'test/functional/wallet_signer.py')
-rwxr-xr-x | test/functional/wallet_signer.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/functional/wallet_signer.py b/test/functional/wallet_signer.py index 32a1887153..425f535b51 100755 --- a/test/functional/wallet_signer.py +++ b/test/functional/wallet_signer.py @@ -130,8 +130,9 @@ class WalletSignerTest(BitcoinTestFramework): assert_equal(address_info['hdkeypath'], "m/86h/1h/0h/0/0") self.log.info('Test walletdisplayaddress') - result = hww.walletdisplayaddress(address1) - assert_equal(result, {"address": address1}) + for address in [address1, address2, address3]: + result = hww.walletdisplayaddress(address) + assert_equal(result, {"address": address}) # Handle error thrown by script self.set_mock_result(self.nodes[1], "2") |