diff --git a/test/functional/wallet_importmulti.py b/test/functional/wallet_importmulti.py index 12287d0df687f..e19c7919a9669 100755 --- a/test/functional/wallet_importmulti.py +++ b/test/functional/wallet_importmulti.py @@ -620,6 +620,10 @@ def run_test(self): solvable=True, ismine=True) + # dump the private key to ensure it matches what was imported + privkey = self.nodes[1].dumpprivkey(address) + assert_equal(privkey, wif_priv) + # Test importing of a P2PKH address via descriptor key = get_key(self.nodes[0]) self.log.info("Should import a p2pkh address from descriptor")