Skip to content

Commit

Permalink
Merge pull request #216 from covalenthq/opts_t
Browse files Browse the repository at this point in the history
remove tx fee params setting before recursively calling executeWithRetry
  • Loading branch information
noslav authored Dec 12, 2023
2 parents 7280c3e + 0e91784 commit 1532c39
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions internal/proof/proof.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,7 @@ func executeWithRetry(ctx context.Context, interactor *ProofchainInteractor, pro
return
}
log.Error("proof tx failed/reverted, retrying proof tx for block hash: ", blockReplica.Hash.String())
newFeeOpts := interactor.setTransactionFeeParams(ctx, opts)
executeWithRetry(ctx, interactor, proofChainContract, ethClient, newFeeOpts, blockReplica, txHash, chainHeight, replicaURL, sha256Result, retryCount+1)
executeWithRetry(ctx, interactor, proofChainContract, ethClient, opts, blockReplica, txHash, chainHeight, replicaURL, sha256Result, retryCount+1)

return
}
Expand Down

0 comments on commit 1532c39

Please sign in to comment.