diff options
author | John Newbery <john@johnnewbery.com> | 2018-02-20 09:02:34 -0500 |
---|---|---|
committer | John Newbery <john@johnnewbery.com> | 2018-08-27 14:36:08 -0400 |
commit | df905e390e5f8b0201bda62c55227e9dc85194cd (patch) | |
tree | 7fe907160fd8e1c0b252fdf53be79b95ecd50b0f /test | |
parent | f180e81d5780805a28bcc71c2bb6b16076336c3c (diff) |
[rpc] Remove deprecated validateaddress usage.
Diffstat (limited to 'test')
-rwxr-xr-x | test/functional/rpc_deprecated.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/test/functional/rpc_deprecated.py b/test/functional/rpc_deprecated.py index 32088fe3e1..58074803cc 100755 --- a/test/functional/rpc_deprecated.py +++ b/test/functional/rpc_deprecated.py @@ -18,13 +18,7 @@ class DeprecatedRpcTest(BitcoinTestFramework): # self.log.info("Make sure that -deprecatedrpc=createmultisig allows it to take addresses") # assert_raises_rpc_error(-5, "Invalid public key", self.nodes[0].createmultisig, 1, [self.nodes[0].getnewaddress()]) # self.nodes[1].createmultisig(1, [self.nodes[1].getnewaddress()]) - - self.log.info("Test validateaddress deprecation") - SOME_ADDRESS = "mnvGjUy3NMj67yJ6gkK5o9e5RS33Z2Vqcu" # This is just some random address to pass as a parameter to validateaddress - dep_validate_address = self.nodes[0].validateaddress(SOME_ADDRESS) - assert "ismine" not in dep_validate_address - not_dep_val = self.nodes[1].validateaddress(SOME_ADDRESS) - assert "ismine" in not_dep_val + pass if __name__ == '__main__': DeprecatedRpcTest().main() |