Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
b-gopalswami committed Dec 20, 2024
1 parent a17903a commit 67117a4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions execute/tokendata/usdc/attestation.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,10 @@ func (s *sequentialAttestationClient) Attestations(
) (map[cciptypes.ChainSelector]map[reader.MessageTokenID]AttestationStatus, error) {
outcome := make(map[cciptypes.ChainSelector]map[reader.MessageTokenID]AttestationStatus)

for chainSelector, messagesByTokenId := range messagesByChain {
for chainSelector, messagesByTokenID := range messagesByChain {
outcome[chainSelector] = make(map[reader.MessageTokenID]AttestationStatus)

for tokenID, message := range messagesByTokenId {
for tokenID, message := range messagesByTokenID {
s.lggr.Debugw(
"Fetching attestation from the API",
"chainSelector", chainSelector,
Expand Down
4 changes: 2 additions & 2 deletions execute/tokendata/usdc/usdc.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,13 @@ func (u *TokenDataObserver) Observe(
usdcMessages := u.pickOnlyUSDCMessages(messages)

// 2. Fetch USDC messages by token id based on the `MessageSent (bytes message)` event
usdcMessagesByTokenId, err := u.fetchUSDCEventMessages(ctx, usdcMessages)
usdcMessagesByTokenID, err := u.fetchUSDCEventMessages(ctx, usdcMessages)
if err != nil {
return nil, err
}

// 3. Fetch attestations for USDC messages
attestations, err := u.fetchAttestations(ctx, usdcMessagesByTokenId)
attestations, err := u.fetchAttestations(ctx, usdcMessagesByTokenID)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 67117a4

Please sign in to comment.