git://git.novaco.in
/
electrum-nvc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
b9bf3a2
)
follow up to #604 - gtk gui
author
CodingAnarchy
<mtanous22@gmail.com>
Wed, 5 Mar 2014 08:51:41 +0000 (
01:51
-0700)
committer
CodingAnarchy
<mtanous22@gmail.com>
Wed, 5 Mar 2014 08:51:41 +0000 (
01:51
-0700)
gui/gtk.py
patch
|
blob
|
history
diff --git
a/gui/gtk.py
b/gui/gtk.py
index
b628716
..
cd9178f
100644
(file)
--- 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()