Skip to content

Commit

Permalink
fix more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
AnieeG committed Dec 17, 2024
1 parent 37ac6e9 commit edd1ef1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion deployment/ccip/changeset/state.go
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,11 @@ func (s CCIPOnChainState) View(chains []uint64) (map[string]view.ChainView, erro
if err != nil {
return m, err
}
m[chainInfo.ChainName] = chainView
name := chainInfo.ChainName
if chainInfo.ChainName == "" {
name = fmt.Sprintf("%d", chainSelector)
}
m[name] = chainView
}
return m, nil
}
Expand Down

0 comments on commit edd1ef1

Please sign in to comment.