Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
sukantoraymond committed Jul 30, 2024
1 parent 8cac1fb commit c8564f0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions subnet/subnet_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import (

"github.com/stretchr/testify/require"

"github.com/ava-labs/avalanchego/utils/formatting/address"
"github.com/ava-labs/avalanchego/ids"
"github.com/ava-labs/avalanchego/utils/formatting/address"
"github.com/ava-labs/avalanchego/utils/set"

"github.com/ava-labs/avalanche-tooling-sdk-go/avalanche"
Expand Down Expand Up @@ -52,8 +52,8 @@ func TestSubnetDeploy(t *testing.T) {
network := avalanche.FujiNetwork()

keychain, err := keychain.NewKeychain(network, "KEY_PATH", nil)
require.NoError(err)
require.NoError(err)

controlKeys := keychain.Addresses().List()
subnetAuthKeys := keychain.Addresses().List()
threshold := 1
Expand Down Expand Up @@ -88,11 +88,11 @@ func TestSubnetDeployMultiSig(t *testing.T) {
newSubnet, _ := New(&subnetParams)
network := avalanche.FujiNetwork()

keychainA, err := keychain.NewKeychain(network, "KEY_PATH_A")
keychainA, err := keychain.NewKeychain(network, "KEY_PATH_A", nil)
require.NoError(err)
keychainB, err := keychain.NewKeychain(network, "KEY_PATH_B")
keychainB, err := keychain.NewKeychain(network, "KEY_PATH_B", nil)
require.NoError(err)
keychainC, err := keychain.NewKeychain(network, "KEY_PATH_C")
keychainC, err := keychain.NewKeychain(network, "KEY_PATH_C", nil)
require.NoError(err)

controlKeys := []ids.ShortID{}
Expand Down

0 comments on commit c8564f0

Please sign in to comment.