Skip to content

Commit

Permalink
fix: race conditions due to share variables
Browse files Browse the repository at this point in the history
  • Loading branch information
agparadiso committed Feb 19, 2024
1 parent ff44e0d commit c9f4114
Show file tree
Hide file tree
Showing 2 changed files with 98 additions and 93 deletions.
6 changes: 3 additions & 3 deletions core/services/relay/evm/functions/coordinator_v2.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,12 @@ func (c *CoordinatorV2) LogsToRequests(requestLogs []logpoller.Log) ([]evmRelayT
oracleRequest.Commitment.Client,
oracleRequest.Commitment.SubscriptionId,
oracleRequest.Commitment.CallbackGasLimit,
oracleRequest.Commitment.AdminFee,
oracleRequest.Commitment.DonFee,
oracleRequest.Commitment.AdminFeeJuels,
oracleRequest.Commitment.DonFeeJuels,
oracleRequest.Commitment.GasOverheadBeforeCallback,
oracleRequest.Commitment.GasOverheadAfterCallback,
oracleRequest.Commitment.TimeoutTimestamp,
oracleRequest.Commitment.OperationFee,
oracleRequest.Commitment.OperationFeeJuels,
)
if err != nil {
c.lggr.Errorw("LogsToRequests: failed to pack Coordinator v2 commitment bytes, skipping", err)
Expand Down
Loading

0 comments on commit c9f4114

Please sign in to comment.