warnings=["Importing as non-solvable: some required keys are missing. If this is intentional, don't provide any keys, pubkeys or redeemscript.", "Some private keys are missing, outputs will be considered watchonly. If this is intentional, specify the watchonly flag."])
- self.test_address(address,
+ self.test_address(key.p2pkh_addr,
iswatchonly=True,
ismine=False,
solvable=False,
@@ -449,15 +434,14 @@
self.log.info(
"Should import a scriptPubKey with internal and with a wrong public key as non-solvable")
warnings=["Importing as non-solvable: some required keys are missing. If this is intentional, don't provide any keys, pubkeys or redeemscript.", "Some private keys are missing, outputs will be considered watchonly. If this is intentional, specify the watchonly flag."])
- self.test_address(address,
+ self.test_address(key.p2pkh_addr,
iswatchonly=True,
ismine=False,
solvable=False,
@@ -467,14 +451,13 @@
self.log.info(
"Should import an address with a wrong private key as non-solvable")
warnings=["Importing as non-solvable: some required keys are missing. If this is intentional, don't provide any keys, pubkeys or redeemscript.", "Some private keys are missing, outputs will be considered watchonly. If this is intentional, specify the watchonly flag."])
- self.test_address(address,
+ self.test_address(key.p2pkh_addr,
iswatchonly=True,
ismine=False,
solvable=False,
@@ -484,15 +467,14 @@
self.log.info(
"Should import a scriptPubKey with internal and with a wrong private key as non-solvable")
warnings=["Importing as non-solvable: some required keys are missing. If this is intentional, don't provide any keys, pubkeys or redeemscript.", "Some private keys are missing, outputs will be considered watchonly. If this is intentional, specify the watchonly flag."])
- self.test_address(address,
+ self.test_address(key.p2pkh_addr,
iswatchonly=True,
ismine=False,
solvable=False,
@@ -504,7 +486,7 @@
self.log.info("Should replace previously saved watch only timestamp.")