diff --git a/lbrynet/core/Wallet.py b/lbrynet/core/Wallet.py index f61c213c8..0937498f4 100644 --- a/lbrynet/core/Wallet.py +++ b/lbrynet/core/Wallet.py @@ -635,7 +635,7 @@ class Wallet(object): if my_claim: log.info("Updating claim") - if self.get_balance() < bid - Decimal(my_claim['amount']): + if self.get_balance() < Decimal(bid) - Decimal(my_claim['amount']): raise InsufficientFundsError() new_metadata = yield self.update_metadata(_metadata, my_claim['value']) old_claim_outpoint = ClaimOutpoint(my_claim['txid'], my_claim['nout'])