electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 8e0d1f1e44fc404aba49cc60db0be6b67e84d10a
parent db7467ef4ef99896b9baa71eb227dcbfe5f07097
Author: ThomasV <thomasv@electrum.org>
Date:   Wed,  1 Jun 2016 05:39:29 +0200

fix low_fee value

Diffstat:
Mlib/wallet.py | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/wallet.py b/lib/wallet.py @@ -921,10 +921,10 @@ class Abstract_Wallet(PrintError): tx = self.transactions.get(tx_hash) is_final = tx and tx.is_final() fee = self.tx_fees.get(tx_hash) - if fee and self.network and self.network.dynfee(25): + if fee and self.network and self.network.dynfee(0): size = len(tx.raw)/2 - low_fee = int(self.network.dynfee(25)*size/1000) - is_lowfee = fee < low_fee * 0.5 + low_fee = int(self.network.dynfee(0)*size/1000) + is_lowfee = fee < low_fee else: is_lowfee = False if not is_final: