From 7052bfc771067cb5f0893823404031caf86a3c6f Mon Sep 17 00:00:00 2001 From: CodingAnarchy Date: Wed, 5 Mar 2014 01:51:41 -0700 Subject: [PATCH] follow up to #604 - gtk gui --- gui/gtk.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gui/gtk.py b/gui/gtk.py index b628716b..cd9178f8 100644 --- 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()