diff --git a/gui/stdio.py b/gui/stdio.py index 3d9b56dfc..e338ba96c 100644 --- 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 index e25127bf6..f8c68daec 100644 --- 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