commit 9f5117b6e2ce654845e31c9b807396eb253d7a26
parent c86ef5e8b0dcebf1940a68e8857165e6e4768920
Author: ThomasV <thomasv@electrum.org>
Date: Wed, 4 Nov 2015 19:15:25 +0100
Merge pull request #1539 from jurov/textfix2
Fix 'need more than 2 values to unpack' error.
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/gui/stdio.py b/gui/stdio.py
@@ -201,7 +201,7 @@ class ElectrumGui:
if c == "n": return
try:
- tx = self.wallet.mktx( [(self.str_recipient, amount)], password, self.config, fee)
+ tx = self.wallet.mktx( [("address", self.str_recipient, amount)], password, self.config, fee)
except Exception as e:
print(str(e))
return
diff --git a/gui/text.py b/gui/text.py
@@ -314,7 +314,7 @@ class ElectrumGui:
password = None
try:
- tx = self.wallet.mktx( [(self.str_recipient, amount)], password, self.config, fee)
+ tx = self.wallet.mktx( [("address", self.str_recipient, amount)], password, self.config, fee)
except Exception as e:
self.show_message(str(e))
return