electrum

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

commit a54c5e88c6ef5725f34652f142d88e62f7202489
parent 01d43719a6ff42e3ee41fb1586b631fcd856650c
Author: ecdsa <ecdsa@github>
Date:   Sun, 24 Mar 2013 12:44:17 +0100

fix int rounding

Diffstat:
Mlib/wallet.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/wallet.py b/lib/wallet.py @@ -559,7 +559,7 @@ class Wallet: inputs.append( item ) if fixed_fee is None: estimated_size = len(inputs) * 180 + 80 # this assumes non-compressed keys - fee = self.fee * round(estimated_size/1024.) + fee = self.fee * int(round(estimated_size/1024.)) if fee == 0: fee = self.fee else: fee = fixed_fee