diff --git a/api/api/api.py b/api/api/api.py index 81c7f1c..2dd0219 100644 --- a/api/api/api.py +++ b/api/api/api.py @@ -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 diff --git a/api/api/services/token.py b/api/api/services/token.py index bb3f119..2b54e75 100644 --- a/api/api/services/token.py +++ b/api/api/services/token.py @@ -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() \ No newline at end of file