Skip to content

Commit

Permalink
add example
Browse files Browse the repository at this point in the history
  • Loading branch information
sukantoraymond committed Aug 22, 2024
1 parent b184302 commit 16e9f2f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion subnet/add_validator_subnet_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"github.com/ava-labs/avalanchego/wallet/subnet/primary"
)

func TestValidateSubnet(t *testing.T) {
func TestValidateSubnet(_ *testing.T) {
subnetParams := SubnetParams{
GenesisFilePath: "/Users/raymondsukanto/.avalanche-cli/subnets/sdkSubnetNew/genesis.json",
Name: "sdkSubnetNew",
Expand All @@ -39,6 +39,9 @@ func TestValidateSubnet(t *testing.T) {
}

subnetID, err := ids.FromString("2VsqBt64W9qayKttmGTiAmtsQVnp9e9U4gSHF1yuLKHuquck5j")
if err != nil {
panic(err)
}

wallet, err := wallet.New(
context.Background(),
Expand Down

0 comments on commit 16e9f2f

Please sign in to comment.