Test boolean fallback in z_importkey
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user