electrum

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

commit d97106f17d874bd8b441ef1c1c9ba80d2f241532
parent 530dc16ed2697f43b8fe606636d1cba26cab356e
Author: Neil Booth <kyuupichan@gmail.com>
Date:   Sat, 28 Nov 2015 22:27:01 +0900

Don't keep dust change in any case

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

diff --git a/lib/wallet.py b/lib/wallet.py @@ -933,10 +933,8 @@ class Abstract_Wallet(PrintError): return fixed_fee return tx.estimated_fee(fee_per_kb) - # If a fixed fee is specified, keep even dust change + # Change <= dust threshold is added to the tx fee dust_threshold = 182 * 3 * MIN_RELAY_TX_FEE / 1000 - if fixed_fee is None: - dust_threshold = 0 # Let the coin chooser select the coins to spend tx = self.coin_chooser.make_tx(coins, outputs, change_addrs,