Skip to content

Commit

Permalink
allow int fee amount
Browse files Browse the repository at this point in the history
  • Loading branch information
jackrobison committed Aug 28, 2016
1 parent 25c71bc commit f024b96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lbrynet/metadata/LBRYFee.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def verify_supported_currency(fee):


def verify_amount(x):
return isinstance(x, float) and x > 0
return isinstance(x, float) or isinstance(x, int) and x > 0


class LBCFeeValidator(Validator):
Expand Down

0 comments on commit f024b96

Please sign in to comment.