aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2019-02-27 13:59:35 -0800
committerPieter Wuille <pieter.wuille@gmail.com>2019-02-28 13:05:10 -0800
commit1675b7ce5559d4796c81cb18a522d242be34d996 (patch)
tree811c9bae203da8a0fe558ecd38963613985d5f11 /test
parent45660116311dc4cbb73e2ddecb1d0cc407d7aeb7 (diff)
downloadbitcoin-1675b7ce5559d4796c81cb18a522d242be34d996.tar.xz
Use stop/[start,stop] notation in importmulti desc range
Diffstat (limited to 'test')
-rwxr-xr-xtest/functional/wallet_importmulti.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/wallet_importmulti.py b/test/functional/wallet_importmulti.py
index 8e25aa7337..c6d0425f22 100755
--- a/test/functional/wallet_importmulti.py
+++ b/test/functional/wallet_importmulti.py
@@ -584,7 +584,7 @@ class ImportMultiTest(BitcoinTestFramework):
self.log.info("Should import the ranged descriptor with specified range as solvable")
self.test_importmulti({"desc": descsum_create(desc),
"timestamp": "now",
- "range": {"end": 1}},
+ "range": 1},
success=True,
warnings=["Some private keys are missing, outputs will be considered watchonly. If this is intentional, specify the watchonly flag."])
for address in addresses:
@@ -807,7 +807,7 @@ class ImportMultiTest(BitcoinTestFramework):
'desc': descsum_create('wpkh([80002067/0h/0h]' + xpub + '/*)'),
'keypool': True,
'timestamp': 'now',
- 'range' : {'start': 0, 'end': 4}
+ 'range' : [0, 4],
}]
)
for i in range(0, 5):