Test boolean fallback in z_importkey
This commit is contained in:
parent
b7e5b7d5ee
commit
53c96bfa6c
|
@ -102,7 +102,8 @@ class Wallet1941RegressionTest (BitcoinTestFramework):
|
||||||
self.sync_all()
|
self.sync_all()
|
||||||
|
|
||||||
# Import the key on node 1, only scanning the last few blocks.
|
# 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
|
# Confirm that the balance on node 1 is zero, as we have not
|
||||||
# rescanned over the older transactions
|
# rescanned over the older transactions
|
||||||
|
|
Loading…
Reference in New Issue