mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 21:31:37 +00:00
unit test added for server and table
This commit is contained in:
parent
107d2837f9
commit
30994df508
3 changed files with 3 additions and 3 deletions
|
|
@ -666,4 +666,4 @@ func newkey() *ecdsa.PrivateKey {
|
|||
panic("couldn't generate key: " + err.Error())
|
||||
}
|
||||
return key
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -977,4 +977,4 @@ func (srv *Server) PeersInfo() []*PeerInfo {
|
|||
}
|
||||
}
|
||||
return infos
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -515,4 +515,4 @@ func randomID() (id discover.NodeID) {
|
|||
id[i] = byte(rand.Intn(255))
|
||||
}
|
||||
return id
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue