electrum

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

commit e55f27cdd7202a6f4d1230caeb14edf3ecb51741
parent 48e6dba6848948d856db9c06144024c4b23682dd
Author: ThomasV <thomasv1@gmx.de>
Date:   Wed,  5 Mar 2014 18:12:22 +0100

Merge pull request #605 from CodingAnarchy/master

follow up to pull request #604
Diffstat:
Mgui/gtk.py | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gui/gtk.py b/gui/gtk.py @@ -701,7 +701,8 @@ class ElectrumWindow: if not is_fee: fee = None if amount is None: return - inputs, total, fee = self.wallet.choose_tx_inputs( amount, fee ) + #assume two outputs - one for change + inputs, total, fee = self.wallet.choose_tx_inputs( amount, fee, 2 ) if not is_fee: fee_entry.set_text( str( Decimal( fee ) / 100000000 ) ) self.fee_box.show()