Skip to content

Commit

Permalink
fix: use fallbackclient in waitForTransactionReceipt (#1420)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcosNicolau authored Nov 14, 2024
1 parent 276c152 commit d7bcec1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/utils/eth_client_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit d7bcec1

Please sign in to comment.