forked from LBRYCommunity/lbry-sdk
amount comparison should be 0, per lbrynaut review
This commit is contained in:
parent
14a067a4c4
commit
1c57293e9c
1 changed files with 1 additions and 1 deletions
|
@ -1558,7 +1558,7 @@ class Daemon(AuthJSONRPCServer):
|
|||
|
||||
amount = self.get_dewies_or_error("amount", amount)
|
||||
|
||||
if amount <= 0.0:
|
||||
if amount <= 0:
|
||||
raise Exception("Invalid amount")
|
||||
tx = yield self.wallet.claim_new_channel(channel_name, amount)
|
||||
self.wallet.save()
|
||||
|
|
Loading…
Reference in a new issue