commit f49f5383158cfe7dff33075780a2704064224c4a
parent 62868ab29a785d9b03b1d13c409d925c6b2d340b
Author: ThomasV <thomasv@electrum.org>
Date: Wed, 6 Jan 2016 09:26:29 +0100
Revert "Use a real dummy address"
This reverts commit 9ed987c2da5a2e5915c87d77a60c4f387f133240.
Diffstat:
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py
@@ -1071,9 +1071,8 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError):
else:
fee = self.fee_e.get_amount() if freeze_fee else None
if not outputs:
- # Any address - Genesis coinbase
- outputs = [('address', '1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa',
- amount)]
+ addr = self.payto_e.payto_address if self.payto_e.payto_address else None
+ outputs = [('address', addr, amount)]
try:
tx = self.wallet.make_unsigned_transaction(self.get_coins(), outputs, self.config, fee)
self.not_enough_funds = False