tMerge pull request #605 from CodingAnarchy/master - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit e55f27cdd7202a6f4d1230caeb14edf3ecb51741 DIR parent 48e6dba6848948d856db9c06144024c4b23682dd HTML 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: M gui/gtk.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- DIR diff --git a/gui/gtk.py b/gui/gtk.py t@@ -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()