mirror of
https://github.com/LBRYFoundation/lbry-sdk.git
synced 2025-08-31 01:11:29 +00:00
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)
|
amount = self.get_dewies_or_error("amount", amount)
|
||||||
|
|
||||||
if amount <= 0.0:
|
if amount <= 0:
|
||||||
raise Exception("Invalid amount")
|
raise Exception("Invalid amount")
|
||||||
tx = yield self.wallet.claim_new_channel(channel_name, amount)
|
tx = yield self.wallet.claim_new_channel(channel_name, amount)
|
||||||
self.wallet.save()
|
self.wallet.save()
|
||||||
|
|
Loading…
Add table
Reference in a new issue