Merge pull request #1539 from jurov/textfix2
Fix 'need more than 2 values to unpack' error.
This commit is contained in:
commit
9f5117b6e2
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue