Browse Source

Test boolean fallback in z_importkey

v1.0.9-lin
Jack Grigg 7 years ago
parent
commit
53c96bfa6c
No known key found for this signature in database GPG Key ID: 6A6914DAFBEA00DA
  1. 3
      qa/rpc-tests/wallet_1941.py

3
qa/rpc-tests/wallet_1941.py

@ -102,7 +102,8 @@ class Wallet1941RegressionTest (BitcoinTestFramework):
self.sync_all()
# Import the key on node 1, only scanning the last few blocks.
self.nodes[1].z_importkey(key, 'yes', self.nodes[1].getblockchaininfo()['blocks'] - 100)
# (uses 'true' to test boolean fallback)
self.nodes[1].z_importkey(key, 'true', self.nodes[1].getblockchaininfo()['blocks'] - 100)
# Confirm that the balance on node 1 is zero, as we have not
# rescanned over the older transactions

Loading…
Cancel
Save