diff --git a/lbrynet/lbrynet_daemon/Daemon.py b/lbrynet/lbrynet_daemon/Daemon.py index 71dcbc273..58188b70d 100644 --- a/lbrynet/lbrynet_daemon/Daemon.py +++ b/lbrynet/lbrynet_daemon/Daemon.py @@ -1754,7 +1754,7 @@ class Daemon(AuthJSONRPCServer): raise Exception("Invalid channel name") if amount <= 0: raise Exception("Invalid amount") - if amount > self.session.wallet.wallet_balance: + if amount > self.session.wallet.get_balance(): raise InsufficientFundsError() result = yield self.session.wallet.claim_new_channel(channel_name, amount) @@ -1842,7 +1842,7 @@ class Daemon(AuthJSONRPCServer): if bid <= 0.0: raise Exception("Invalid bid") - if bid < self.session.wallet.wallet_balance: + if bid < self.session.wallet.get_balance(): raise InsufficientFundsError() metadata = metadata or {}