keep wallet_balance to test deprecation with, until we find better way to do this

This commit is contained in:
Lex Berezhny 2019-01-17 16:38:31 -05:00
parent 8dc8ca382b
commit 974d3c83e3

View file

@ -1283,6 +1283,10 @@ class Daemon(metaclass=JSONRPCServerType):
""" """
return sorted([command for command in self.callable_methods.keys()]) return sorted([command for command in self.callable_methods.keys()])
@deprecated("account_balance")
def jsonrpc_wallet_balance(self, address=None):
pass
@requires(WALLET_COMPONENT, conditions=[WALLET_IS_UNLOCKED]) @requires(WALLET_COMPONENT, conditions=[WALLET_IS_UNLOCKED])
async def jsonrpc_wallet_send(self, amount, address=None, claim_id=None, account_id=None): async def jsonrpc_wallet_send(self, amount, address=None, claim_id=None, account_id=None):
""" """