Browse Source

p2p: small lint

pull/1519/head
Ethan Buchman 7 years ago
parent
commit
c195772de1
1 changed files with 1 additions and 5 deletions
  1. +1
    -5
      p2p/node_info.go

+ 1
- 5
p2p/node_info.go 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
return err
}
// CompatibleWith checks if two NodeInfo are compatible with eachother.


Loading…
Cancel
Save