aboutsummaryrefslogtreecommitdiff
path: root/test/functional/wallet_basic.py
diff options
context:
space:
mode:
authorRoss Nicoll <[email protected]>2021-03-04 10:25:29 +0000
committerGitHub <[email protected]>2021-03-04 11:25:29 +0100
commit8b0dcb523dcda768988f0ed661a70611c3d727b3 (patch)
tree92310d01b30ad232f41801c529ab865fcccd07d7 /test/functional/wallet_basic.py
parentDisable compatibility tests (#1754) (diff)
downloaddiscoin-8b0dcb523dcda768988f0ed661a70611c3d727b3.tar.xz
discoin-8b0dcb523dcda768988f0ed661a70611c3d727b3.zip
1.21 key prefix (#1710)
Squash-merged on request. * Dogecoin address prefixes * Use "doge" for BECH32 addresses * Switch Bitcoin references to Dogecoin in Travis * Update addresses in dogecoin-tx tests * Use "doge" for BECH32 addresses * Remove functional tests which do not apply to Dogecoin (backwards compatibility tests do not have suitable clients to test against)
Diffstat (limited to 'test/functional/wallet_basic.py')
-rwxr-xr-xtest/functional/wallet_basic.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/wallet_basic.py b/test/functional/wallet_basic.py
index a15f0c1cc..6712e0346 100755
--- a/test/functional/wallet_basic.py
+++ b/test/functional/wallet_basic.py
@@ -586,9 +586,9 @@ class WalletTest(BitcoinTestFramework):
assert_equal(total_txs, len(self.nodes[0].listtransactions("*", 99999)))
# Test getaddressinfo on external address. Note that these addresses are taken from disablewallet.py
- assert_raises_rpc_error(-5, "Invalid address", self.nodes[0].getaddressinfo, "3J98t1WpEZ73CNmQviecrnyiWrnqRhWNLy")
- address_info = self.nodes[0].getaddressinfo("mneYUmWYsuk7kySiURxCi3AGxrAqZxLgPZ")
- assert_equal(address_info['address'], "mneYUmWYsuk7kySiURxCi3AGxrAqZxLgPZ")
+ assert_raises_rpc_error(-5, "Invalid address", self.nodes[0].getaddressinfo, "A8tPcraiJcyw6k8tLrK36vc6DSAsXwu8f7")
+ address_info = self.nodes[0].getaddressinfo("nbKkSz78JGfsPqitXGcqgHhrDrgizjB3bW")
+ assert_equal(address_info['address'], "nbKkSz78JGfsPqitXGcqgHhrDrgizjB3bW")
assert_equal(address_info["scriptPubKey"], "76a9144e3854046c7bd1594ac904e4793b6a45b36dea0988ac")
assert not address_info["ismine"]
assert not address_info["iswatchonly"]