whisper/whisperv6: fix staticcheck issues (#20288)
This commit is contained in:
committed by
Felix Lange
parent
afe0b65405
commit
765fe446cf
@@ -352,7 +352,7 @@ func (whisper *Whisper) getPeer(peerID []byte) (*Peer, error) {
|
||||
return p, nil
|
||||
}
|
||||
}
|
||||
return nil, fmt.Errorf("Could not find peer with ID: %x", peerID)
|
||||
return nil, fmt.Errorf("could not find peer with ID: %x", peerID)
|
||||
}
|
||||
|
||||
// AllowP2PMessagesFromPeer marks specific peer trusted,
|
||||
|
Reference in New Issue
Block a user