From f024b969343c1061a342d0671728273b39c8f807 Mon Sep 17 00:00:00 2001 From: Jack Date: Sun, 28 Aug 2016 03:09:36 -0400 Subject: [PATCH] allow int fee amount --- lbrynet/metadata/LBRYFee.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lbrynet/metadata/LBRYFee.py b/lbrynet/metadata/LBRYFee.py index 7954135f7..b023fdf9e 100644 --- a/lbrynet/metadata/LBRYFee.py +++ b/lbrynet/metadata/LBRYFee.py @@ -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):