aboutsummaryrefslogtreecommitdiff
path: root/test/functional/rpc_deprecated.py
diff options
context:
space:
mode:
authorJohn Newbery <[email protected]>2018-04-23 15:16:09 -0400
committerJohn Newbery <[email protected]>2018-05-16 17:45:19 -0400
commit81608178cff793ee205a4f70481c76d34c5448a4 (patch)
tree3302a1f1dd2f8b658c71d9fe571bec9716aeef6d /test/functional/rpc_deprecated.py
parentMerge #10740: [wallet] `loadwallet` RPC - load wallet at runtime (diff)
downloaddiscoin-81608178cff793ee205a4f70481c76d34c5448a4.tar.xz
discoin-81608178cff793ee205a4f70481c76d34c5448a4.zip
[wallet] [rpc] Remove getlabeladdress RPC
labels are associated with addresses (rather than addresses being associated with labels, as was the case with accounts). The getlabeladdress does not make sense in this model, so remove it. getaccountaddress is still supported for one release as the accounts API is deprecated.
Diffstat (limited to 'test/functional/rpc_deprecated.py')
-rwxr-xr-xtest/functional/rpc_deprecated.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/test/functional/rpc_deprecated.py b/test/functional/rpc_deprecated.py
index 2e0500e7c..bc27c183b 100755
--- a/test/functional/rpc_deprecated.py
+++ b/test/functional/rpc_deprecated.py
@@ -40,7 +40,6 @@ class DeprecatedRpcTest(BitcoinTestFramework):
#
# The following 'label' RPC methods are usable both with and without the
# -deprecatedrpc=accounts switch enabled.
- # - getlabeladdress
# - getaddressesbylabel
# - getreceivedbylabel
# - listlabels
@@ -69,10 +68,6 @@ class DeprecatedRpcTest(BitcoinTestFramework):
assert_raises_rpc_error(-32, "getaccountaddress is deprecated", self.nodes[0].getaccountaddress, "label0")
self.nodes[1].getaccountaddress("label1")
- self.log.info("- getlabeladdress")
- self.nodes[0].getlabeladdress("label0")
- self.nodes[1].getlabeladdress("label1")
-
self.log.info("- getaddressesbyaccount")
assert_raises_rpc_error(-32, "getaddressesbyaccount is deprecated", self.nodes[0].getaddressesbyaccount, "label0")
self.nodes[1].getaddressesbyaccount("label1")