diff --git a/whisperv6/peer.go b/whisperv6/peer.go index b311b6d..1a1de9b 100644 --- a/whisperv6/peer.go +++ b/whisperv6/peer.go @@ -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()) }