diff options
author | Péter Szilágyi <peterke@gmail.com> | 2015-04-22 23:17:07 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2015-04-28 15:49:05 +0800 |
commit | 2b9fd6b40a759078d1dcc1c7edcfafd4ccf38af3 (patch) | |
tree | 814e1801fe53208cd9e34ba077e71d788cf9a97d /whisper/peer.go | |
parent | 406e74e2afdce374fd227873f4eb96a0ba99bd23 (diff) | |
download | dexon-2b9fd6b40a759078d1dcc1c7edcfafd4ccf38af3.tar dexon-2b9fd6b40a759078d1dcc1c7edcfafd4ccf38af3.tar.gz dexon-2b9fd6b40a759078d1dcc1c7edcfafd4ccf38af3.tar.bz2 dexon-2b9fd6b40a759078d1dcc1c7edcfafd4ccf38af3.tar.lz dexon-2b9fd6b40a759078d1dcc1c7edcfafd4ccf38af3.tar.xz dexon-2b9fd6b40a759078d1dcc1c7edcfafd4ccf38af3.tar.zst dexon-2b9fd6b40a759078d1dcc1c7edcfafd4ccf38af3.zip |
whisper: add full filter test suite
Diffstat (limited to 'whisper/peer.go')
-rw-r--r-- | whisper/peer.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/whisper/peer.go b/whisper/peer.go index 77e09bece..9fdc28434 100644 --- a/whisper/peer.go +++ b/whisper/peer.go @@ -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, |