From 974d3c83e3a627557bb8b3f060aaa2084dfa53ea Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Thu, 17 Jan 2019 16:38:31 -0500 Subject: [PATCH] keep wallet_balance to test deprecation with, until we find better way to do this --- lbrynet/extras/daemon/Daemon.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lbrynet/extras/daemon/Daemon.py b/lbrynet/extras/daemon/Daemon.py index 0c4b76092..21fd0de94 100644 --- a/lbrynet/extras/daemon/Daemon.py +++ b/lbrynet/extras/daemon/Daemon.py @@ -1283,6 +1283,10 @@ class Daemon(metaclass=JSONRPCServerType): """ 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]) async def jsonrpc_wallet_send(self, amount, address=None, claim_id=None, account_id=None): """