Fix pylint error
This commit is contained in:
parent
db821c51b7
commit
2b69d2fad0
1 changed files with 1 additions and 1 deletions
|
@ -1851,7 +1851,7 @@ class Daemon(AuthJSONRPCServer):
|
|||
raise Exception("Invalid channel name")
|
||||
if amount <= 0:
|
||||
raise Exception("Invalid amount")
|
||||
|
||||
|
||||
yield self.session.wallet.update_balance()
|
||||
if amount >= self.session.wallet.get_balance():
|
||||
balance = yield self.session.wallet.get_max_usable_balance_for_claim(channel_name)
|
||||
|
|
Loading…
Reference in a new issue