1
0

passing wallet instance not needed anymore

This commit is contained in:
m0mchil
2014-07-27 14:57:23 +03:00
parent bb78873e24
commit d5f08d657f
2 changed files with 3 additions and 3 deletions

View File

@@ -71,9 +71,9 @@ class Plugin(BasePlugin):
wallet.create_accounts(None)
return wallet
def send_tx(self, tx, wallet):
def send_tx(self, tx):
try:
wallet.sign_transaction(tx, None, None)
self.wallet.sign_transaction(tx, None, None)
except Exception as e:
tx.error = str(e)