Skip to content

Commit

Permalink
Fix Token.send()
Browse files Browse the repository at this point in the history
  • Loading branch information
Giacomo Licari committed Nov 28, 2023
1 parent 2300891 commit 78b10c4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion api/api/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,5 @@ def ask():
message = "".join([arg['message'] for arg in e.args])
return jsonify(errors=[message]), 400


app.register_blueprint(apiv1, url_prefix="/api/v1")
return app
2 changes: 1 addition & 1 deletion api/api/services/token.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ def transfer(self, sender_address, recipient_address, amount_wei):
'from': sender_address
})

tx_hash = self.w3.eth.send_transactions(transfer_tx)
tx_hash = self.w3.eth.send_transaction(transfer_tx)
return tx_hash.hex()

0 comments on commit 78b10c4

Please sign in to comment.