Fix 'need more than 2 values to unpack' error.

This commit is contained in:
Juraj Variny 2015-11-04 19:07:50 +01:00
parent 55494e4224
commit 812399f51d
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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