allow int fee amount
This commit is contained in:
parent
25c71bcd98
commit
f024b96934
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue