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_basic.py | |
parent | ae3902ee3f3e4ea21c2a19470d402e418965b8ef (diff) |
Change default address type to bech32
Diffstat (limited to 'test/functional/wallet_basic.py')
-rwxr-xr-x | test/functional/wallet_basic.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/wallet_basic.py b/test/functional/wallet_basic.py index 96ea5c9c35..550037923e 100755 --- a/test/functional/wallet_basic.py +++ b/test/functional/wallet_basic.py @@ -317,7 +317,7 @@ class WalletTest(BitcoinTestFramework): assert_raises_rpc_error(-5, "Invalid private key encoding", self.nodes[0].importprivkey, "invalid") # This will raise an exception for importing an address with the PS2H flag - temp_address = self.nodes[1].getnewaddress() + temp_address = self.nodes[1].getnewaddress("", "p2sh-segwit") assert_raises_rpc_error(-5, "Cannot use the p2sh flag with an address - use a script instead", self.nodes[0].importaddress, temp_address, "label", False, True) # This will raise an exception for attempting to dump the private key of an address you do not own |