aboutsummaryrefslogtreecommitdiff
path: root/test/functional/wallet_import_with_label.py
diff options
context:
space:
mode:
authorGregory Sanders <gsanders87@gmail.com>2019-09-18 09:25:23 -0400
committerGregory Sanders <gsanders87@gmail.com>2019-09-26 16:23:32 -0400
commitf50785ab56c0c094960c7049cfe9209b101e2823 (patch)
treedab9043e8044b6840c195ecd8d6951fe541500b7 /test/functional/wallet_import_with_label.py
parentae3902ee3f3e4ea21c2a19470d402e418965b8ef (diff)
downloadbitcoin-f50785ab56c0c094960c7049cfe9209b101e2823.tar.xz
Change default address type to bech32
Diffstat (limited to 'test/functional/wallet_import_with_label.py')
-rwxr-xr-xtest/functional/wallet_import_with_label.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/wallet_import_with_label.py b/test/functional/wallet_import_with_label.py
index a623b75606..2a9051b1e8 100755
--- a/test/functional/wallet_import_with_label.py
+++ b/test/functional/wallet_import_with_label.py
@@ -100,8 +100,8 @@ class ImportWithLabel(BitcoinTestFramework):
"Test importprivkey won't label new dests with the same "
"label as others labeled dests for the same key."
)
- self.log.info("Import a watch-only legacy address with a label.")
- address4 = self.nodes[0].getnewaddress()
+ self.log.info("Import a watch-only p2sh-segwit address with a label.")
+ address4 = self.nodes[0].getnewaddress("", "p2sh-segwit")
label4_addr = "Test Label 4 for importaddress"
self.nodes[1].importaddress(address4, label4_addr)
test_address(self.nodes[1],