Skip to content

Commit

Permalink
Update pkg/chains/chains.go
Browse files Browse the repository at this point in the history
Co-authored-by: Dmitry S <[email protected]>
  • Loading branch information
lumtis and swift1337 authored Jun 28, 2024
1 parent 0fd232f commit f842aa0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/chains/chains.go
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ func CombineDefaultChainsList(chains []Chain) []*Chain {
// CombineChainList combines a list of chains with a list of chains
// duplicated chain ID are overwritten by the second list
func CombineChainList(chains1 []*Chain, chains2 []*Chain) []*Chain {
combined := make([]*Chain, 0)
combined := make([]*Chain, 0, len(base) + len(additional))
combined = append(combined, chains1...)

// map chain ID in chains1 to index in the list
Expand Down

0 comments on commit f842aa0

Please sign in to comment.