mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-09 22:44:27 +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())
|
panic("couldn't generate key: " + err.Error())
|
||||||
}
|
}
|
||||||
return key
|
return key
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -977,4 +977,4 @@ func (srv *Server) PeersInfo() []*PeerInfo {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return infos
|
return infos
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -515,4 +515,4 @@ func randomID() (id discover.NodeID) {
|
||||||
id[i] = byte(rand.Intn(255))
|
id[i] = byte(rand.Intn(255))
|
||||||
}
|
}
|
||||||
return id
|
return id
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue