diff --git a/subnet/deploy_subnet.go b/subnet/deploy_subnet.go index 456c949..bb4ce4e 100644 --- a/subnet/deploy_subnet.go +++ b/subnet/deploy_subnet.go @@ -9,7 +9,6 @@ import ( "avalanche-tooling-sdk-go/avalanche" - "avalanche-tooling-sdk-go/utils" "github.com/ava-labs/avalanchego/ids" "github.com/ava-labs/avalanchego/utils/crypto/keychain" "github.com/ava-labs/avalanchego/utils/formatting/address" diff --git a/utils/common.go b/utils/common.go deleted file mode 100644 index fbe5340..0000000 --- a/utils/common.go +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright (C) 2024, Ava Labs, Inc. All rights reserved. -// See the file LICENSE for licensing terms. -package utils - -func Filter[T any](input []T, f func(T) bool) []T { - output := make([]T, 0, len(input)) - for _, e := range input { - if f(e) { - output = append(output, e) - } - } - return output -}