p2p: small lint

This commit is contained in:
Ethan Buchman 2018-04-28 21:17:28 -04:00
parent fae94a44a2
commit c195772de1

View File

@ -58,11 +58,7 @@ func (info NodeInfo) Validate() error {
// ensure ListenAddr is good
_, err := NewNetAddressString(IDAddressString(info.ID, info.ListenAddr))
if err != nil {
return err
}
return nil
}
// CompatibleWith checks if two NodeInfo are compatible with eachother.