aboutsummaryrefslogtreecommitdiff
path: root/test/functional/wallet_basic.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_basic.py
parentae3902ee3f3e4ea21c2a19470d402e418965b8ef (diff)
downloadbitcoin-f50785ab56c0c094960c7049cfe9209b101e2823.tar.xz
Change default address type to bech32
Diffstat (limited to 'test/functional/wallet_basic.py')
-rwxr-xr-xtest/functional/wallet_basic.py2
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