Skip to content

Commit d7bcec1

Browse files
fix: use fallbackclient in waitForTransactionReceipt (#1420)
1 parent 276c152 commit d7bcec1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/utils/eth_client_utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ func WaitForTransactionReceiptRetryable(client eth.InstrumentedClient, fallbackC
2424
receipt_func := func() (*types.Receipt, error) {
2525
receipt, err := client.TransactionReceipt(context.Background(), txHash)
2626
if err != nil {
27-
receipt, err = client.TransactionReceipt(context.Background(), txHash)
27+
receipt, err = fallbackClient.TransactionReceipt(context.Background(), txHash)
2828
if err != nil {
2929
return nil, err
3030
}

0 commit comments

Comments
 (0)