From d57af0db33b57d7ad0bc938810d42d25accc405c Mon Sep 17 00:00:00 2001 From: ThomasV Date: Thu, 14 Jan 2016 16:32:09 +0100 Subject: [PATCH] Revert "Fix 'need more than 2 values to unpack' error." This reverts commit 812399f51db43ea1c6602d5dac53b6dbd4910d96. --- gui/stdio.py | 2 +- gui/text.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gui/stdio.py b/gui/stdio.py index f0f43761..c1485266 100644 --- a/gui/stdio.py +++ b/gui/stdio.py @@ -187,7 +187,7 @@ class ElectrumGui: if c == "n": return try: - tx = self.wallet.mktx( [("address", self.str_recipient, amount)], password, self.config, fee) + tx = self.wallet.mktx( [(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 index 658ea22c..f7118141 100644 --- a/gui/text.py +++ b/gui/text.py @@ -329,7 +329,7 @@ class ElectrumGui: password = None try: - tx = self.wallet.mktx( [("address", self.str_recipient, amount)], password, self.config, fee) + tx = self.wallet.mktx( [(self.str_recipient, amount)], password, self.config, fee) except Exception as e: self.show_message(str(e)) return