git://git.novaco.in
/
electrum-nvc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(from parent 1:
1bb00ff
)
fix: add type 'aaddress' in change output
author
ThomasV
<thomasv@gitorious>
Tue, 8 Jul 2014 21:53:20 +0000 (23:53 +0200)
committer
ThomasV
<thomasv@gitorious>
Tue, 8 Jul 2014 21:53:20 +0000 (23:53 +0200)
gui/qt/main_window.py
patch
|
blob
|
history
lib/wallet.py
patch
|
blob
|
history
diff --git
a/gui/qt/main_window.py
b/gui/qt/main_window.py
index
7ced30e
..
b8dccc7
100644
(file)
--- a/
gui/qt/main_window.py
+++ b/
gui/qt/main_window.py
@@
-1060,6
+1060,7
@@
class ElectrumWindow(QMainWindow):
self.wallet.add_keypairs(tx, keypairs, password)
self.wallet.sign_transaction(tx, keypairs, password)
except Exception as e:
+ traceback.print_exc(file=sys.stdout)
tx.error = str(e)
return tx
diff --git
a/lib/wallet.py
b/lib/wallet.py
index
f8eba63
..
2d2ba93
100644
(file)
--- a/
lib/wallet.py
+++ b/
lib/wallet.py
@@
-648,7
+648,7
@@
class Abstract_Wallet:
# Insert the change output at a random position in the outputs
posn = random.randint(0, len(outputs))
- outputs[posn:posn] = [( change_addr, change_amount)]
+ outputs[posn:posn] = [( 'address', change_addr, change_amount)]
return outputs
def get_history(self, address):