diff options
author | Gregory Sanders <gsanders87@gmail.com> | 2019-09-18 09:25:23 -0400 |
---|---|---|
committer | Gregory Sanders <gsanders87@gmail.com> | 2019-09-26 16:23:32 -0400 |
commit | f50785ab56c0c094960c7049cfe9209b101e2823 (patch) | |
tree | dab9043e8044b6840c195ecd8d6951fe541500b7 /test/functional/wallet_import_with_label.py | |
parent | ae3902ee3f3e4ea21c2a19470d402e418965b8ef (diff) | |
download | bitcoin-f50785ab56c0c094960c7049cfe9209b101e2823.tar.xz |
Change default address type to bech32
Diffstat (limited to 'test/functional/wallet_import_with_label.py')
-rwxr-xr-x | test/functional/wallet_import_with_label.py | 4 |
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], |