From 5bf20096b2efb46a6547fdb2945ebd28e9fe7c01 Mon Sep 17 00:00:00 2001 From: Jack Date: Mon, 12 Dec 2016 14:32:33 -0500 Subject: [PATCH] fix wallet_balance when checking fee amount --- lbrynet/lbrynet_daemon/Downloader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lbrynet/lbrynet_daemon/Downloader.py b/lbrynet/lbrynet_daemon/Downloader.py index 3c032e716..301ef90a6 100644 --- a/lbrynet/lbrynet_daemon/Downloader.py +++ b/lbrynet/lbrynet_daemon/Downloader.py @@ -114,7 +114,7 @@ class GetStream(object): self.fee = FeeValidator(self.stream_info['fee']) max_key_fee = self._convert_max_fee() converted_fee = self.exchange_rate_manager.to_lbc(self.fee).amount - if converted_fee > self.wallet.get_balance(): + if converted_fee > self.wallet.wallet_balance: log.warning("Insufficient funds to download lbry://%s", self.resolved_name) return defer.fail(InsufficientFundsError()) if converted_fee > max_key_fee: