tMerge pull request #1539 from jurov/textfix2 - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 9f5117b6e2ce654845e31c9b807396eb253d7a26 DIR parent c86ef5e8b0dcebf1940a68e8857165e6e4768920 HTML 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: M gui/stdio.py | 2 +- M gui/text.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) --- DIR diff --git a/gui/stdio.py b/gui/stdio.py t@@ -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 DIR diff --git a/gui/text.py b/gui/text.py t@@ -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