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 f842aa0 commit 6e6b781
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 @@ -390,7 +390,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 {
func CombineChainList(base []Chain, additional ...Chain) []Chain {
combined := make([]*Chain, 0, len(base) + len(additional))
combined = append(combined, chains1...)

Check failure on line 395 in pkg/chains/chains.go

View workflow job for this annotation

GitHub Actions / build-and-test

undefined: chains1

Expand Down

0 comments on commit 6e6b781

Please sign in to comment.