From 6e6b78199d5230b249455ca2f3ae29e8c1569310 Mon Sep 17 00:00:00 2001 From: Lucas Bertrand Date: Fri, 28 Jun 2024 10:45:46 +0200 Subject: [PATCH] Update pkg/chains/chains.go Co-authored-by: Dmitry S <11892559+swift1337@users.noreply.github.com> --- pkg/chains/chains.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/chains/chains.go b/pkg/chains/chains.go index e88fb5e8ed..3e0095e61c 100644 --- a/pkg/chains/chains.go +++ b/pkg/chains/chains.go @@ -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...)