From 9f5e912b229cd3b74fa944eb970c2de8e99450bf Mon Sep 17 00:00:00 2001 From: Max <82761650+MaxMustermann2@users.noreply.github.com> Date: Fri, 22 Oct 2021 18:39:22 +0000 Subject: [PATCH] transaction.py: use correct endpoint Fix for ` send_and_confirm_raw_transaction` --- pyhmy/transaction.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyhmy/transaction.py b/pyhmy/transaction.py index 930adf6..a8c1786 100644 --- a/pyhmy/transaction.py +++ b/pyhmy/transaction.py @@ -430,7 +430,7 @@ def send_and_confirm_raw_transaction(signed_tx, endpoint=_default_endpoint, time ------------- https://api.hmny.io/#f40d124a-b897-4b7c-baf3-e0dedf8f40a0 """ - tx_hash = send_raw_transaction(signed_tx) + tx_hash = send_raw_transaction(signed_tx, endpoint=endpoint) start_time = time.time() while((time.time() - start_time) <= timeout): tx_response = get_transaction_by_hash(tx_hash)