Skip to content

Commit

Permalink
all nodes look to zero node
Browse files Browse the repository at this point in the history
  • Loading branch information
n0cte authored and ramilexe committed Apr 26, 2023
1 parent e72f531 commit 79b4d49
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions chain/avalanche/package.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,7 @@ func (c *AvalancheChain) Initialize(ctx context.Context, testName string, cli *c
for i := 0; i < numNodes; i++ {
var bootstrapOpt []*AvalancheNode = nil
if i > 0 {
n := &nodes[i-1]
bootstrapOpt = []*AvalancheNode{n}
bootstrapOpt = []*AvalancheNode{&nodes[0]}
}
ip, err := getIP(ctx, cli, networkID, uint8(i+1))
if err != nil {
Expand Down

0 comments on commit 79b4d49

Please sign in to comment.