Skip to content

Commit

Permalink
p2p/discover/v5wire: remove seq assertion in test
Browse files Browse the repository at this point in the history
  • Loading branch information
fjl committed May 27, 2021
1 parent 34c4e57 commit e252e2a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions p2p/discover/v5wire/encoding_test.go
Expand Up @@ -512,9 +512,6 @@ func (n *handshakeTestNode) init(key *ecdsa.PrivateKey, ip net.IP, clock mclock.
db, _ := enode.OpenDB("")
n.ln = enode.NewLocalNode(db, key)
n.ln.SetStaticIP(ip)
if n.ln.Node().Seq() != 1 {
panic(fmt.Errorf("unexpected seq %d", n.ln.Node().Seq()))
}
n.c = NewCodec(n.ln, key, clock)
}

Expand Down

0 comments on commit e252e2a

Please sign in to comment.