Fix 'need more than 2 values to unpack' error.
This commit is contained in:
@@ -201,7 +201,7 @@ class ElectrumGui:
|
|||||||
if c == "n": return
|
if c == "n": return
|
||||||
|
|
||||||
try:
|
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:
|
except Exception as e:
|
||||||
print(str(e))
|
print(str(e))
|
||||||
return
|
return
|
||||||
|
|||||||
@@ -314,7 +314,7 @@ class ElectrumGui:
|
|||||||
password = None
|
password = None
|
||||||
|
|
||||||
try:
|
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:
|
except Exception as e:
|
||||||
self.show_message(str(e))
|
self.show_message(str(e))
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user