From 2ca2abf56f9548a8bb0081e1b7e11c66862a4519 Mon Sep 17 00:00:00 2001 From: Marcos Nicolau Date: Thu, 14 Nov 2024 11:28:18 -0300 Subject: [PATCH] fix: use fallbackclient in waitForTransactionReceipt --- core/utils/eth_client_utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/utils/eth_client_utils.go b/core/utils/eth_client_utils.go index 689f7cd17e..6484f8b280 100644 --- a/core/utils/eth_client_utils.go +++ b/core/utils/eth_client_utils.go @@ -24,7 +24,7 @@ func WaitForTransactionReceiptRetryable(client eth.InstrumentedClient, fallbackC receipt_func := func() (*types.Receipt, error) { receipt, err := client.TransactionReceipt(context.Background(), txHash) if err != nil { - receipt, err = client.TransactionReceipt(context.Background(), txHash) + receipt, err = fallbackClient.TransactionReceipt(context.Background(), txHash) if err != nil { return nil, err }