aboutsummaryrefslogtreecommitdiff
path: root/test/functional/wallet_signer.py
diff options
context:
space:
mode:
authorSjors Provoost <sjors@sprovoost.nl>2021-11-23 16:12:55 +0100
committerSjors Provoost <sjors@sprovoost.nl>2024-04-16 17:47:43 +0200
commitdc55531087478d01fbde4f5fbb75375b672960c3 (patch)
treeefd6e9008f057bfb1599716129fff851b7117e88 /test/functional/wallet_signer.py
parent6c1a2cc09a00baa6ff3ff34455c2243b43067fb5 (diff)
downloadbitcoin-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-xtest/functional/wallet_signer.py5
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")