diff options
| author | Gregory Sanders <[email protected]> | 2019-09-18 09:25:23 -0400 |
|---|---|---|
| committer | Gregory Sanders <[email protected]> | 2019-09-26 16:23:32 -0400 |
| commit | f50785ab56c0c094960c7049cfe9209b101e2823 (patch) | |
| tree | dab9043e8044b6840c195ecd8d6951fe541500b7 /test/functional/wallet_basic.py | |
| parent | Merge #16928: gui: Rename address checkbox back to bech32 (diff) | |
| download | discoin-f50785ab56c0c094960c7049cfe9209b101e2823.tar.xz discoin-f50785ab56c0c094960c7049cfe9209b101e2823.zip | |
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 96ea5c9c3..550037923 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 |