diff --git a/gui/stdio.py b/gui/stdio.py index f0f43761f..c14852663 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 658ea22c6..f71181412 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