allow int fee amount

This commit is contained in:
Jack 2016-08-28 03:09:36 -04:00
parent 25c71bcd98
commit f024b96934

View file

@ -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):