unit test added for server and table

This commit is contained in:
AnilChinchawale 2019-02-11 04:52:25 +05:30
parent 107d2837f9
commit 30994df508
3 changed files with 3 additions and 3 deletions

View file

@ -666,4 +666,4 @@ func newkey() *ecdsa.PrivateKey {
panic("couldn't generate key: " + err.Error())
}
return key
}
}

View file

@ -977,4 +977,4 @@ func (srv *Server) PeersInfo() []*PeerInfo {
}
}
return infos
}
}

View file

@ -515,4 +515,4 @@ func randomID() (id discover.NodeID) {
id[i] = byte(rand.Intn(255))
}
return id
}
}