aboutsummaryrefslogtreecommitdiff
path: root/test/functional/wallet_importmulti.py
diff options
context:
space:
mode:
authorMeshCollider <dobsonsa68@gmail.com>2018-12-19 15:56:42 +1300
committerMeshCollider <dobsonsa68@gmail.com>2019-06-06 22:03:55 +1200
commit81a884bbd0dbee108d11776794d9627ca07504aa (patch)
tree65ba185efead2da56c491731aa3ba8e420d2e699 /test/functional/wallet_importmulti.py
parenta4d1bd1a29be2dcc5e00c63b6b41916b1c466de0 (diff)
downloadbitcoin-81a884bbd0dbee108d11776794d9627ca07504aa.tar.xz
Import private keys from descriptor with importmulti if provided
Diffstat (limited to 'test/functional/wallet_importmulti.py')
-rwxr-xr-xtest/functional/wallet_importmulti.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/functional/wallet_importmulti.py b/test/functional/wallet_importmulti.py
index 7d652a7825..82de566c53 100755
--- a/test/functional/wallet_importmulti.py
+++ b/test/functional/wallet_importmulti.py
@@ -579,17 +579,17 @@ class ImportMultiTest(BitcoinTestFramework):
error_code=-8,
error_message='Descriptor is ranged, please specify the range')
- # Test importing of a ranged descriptor without keys
+ # Test importing of a ranged descriptor with xpriv
self.log.info("Should import the ranged descriptor with specified range as solvable")
self.test_importmulti({"desc": descsum_create(desc),
"timestamp": "now",
"range": 1},
- success=True,
- warnings=["Some private keys are missing, outputs will be considered watchonly. If this is intentional, specify the watchonly flag."])
+ success=True)
for address in addresses:
test_address(self.nodes[1],
- key.p2sh_p2wpkh_addr,
- solvable=True)
+ address,
+ solvable=True,
+ ismine=True)
self.test_importmulti({"desc": descsum_create(desc), "timestamp": "now", "range": -1},
success=False, error_code=-8, error_message='End of range is too high')