whisper: add full filter test suite

This commit is contained in:
Péter Szilágyi
2015-04-22 18:17:07 +03:00
parent 406e74e2af
commit 2b9fd6b40a
2 changed files with 51 additions and 2 deletions

View File

@ -21,8 +21,7 @@ type peer struct {
quit chan struct{}
}
// newPeer creates and initializes a new whisper peer connection, returning either
// the newly constructed link or a failure reason.
// newPeer creates a new whisper peer object, but does not run the handshake itself.
func newPeer(host *Whisper, remote *p2p.Peer, rw p2p.MsgReadWriter) *peer {
return &peer{
host: host,