cmd, contracts, eth, p2p, signer, whisper: fixed ineffectual assignments (#19869)

This commit is contained in:
Adam Babik 2019-09-28 10:57:14 +02:00
parent 75f34771fb
commit e234c0fdf9
No known key found for this signature in database
GPG Key ID: ED02515A1FC0D1B4

View File

@ -134,7 +134,7 @@ func (peer *Peer) handshake() error {
}
}
isRemotePeerLightNode, err := s.Bool()
isRemotePeerLightNode, _ := s.Bool()
if isRemotePeerLightNode && isLightNode && isRestrictedLightNodeConnection {
return fmt.Errorf("peer [%x] is useless: two light client communication restricted", peer.ID())
}