diff options
author | Felix Lange <fjl@twurst.com> | 2017-01-06 23:55:03 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2017-01-07 01:18:07 +0800 |
commit | 13e3b2f433c48fe81423c1a13e9a5194ece61b01 (patch) | |
tree | 19ff7c32597a41bbfe7ccc0d32ecaed05d0e6132 /swarm | |
parent | f2da6581ba827a2aab091f764ace8017b26450d8 (diff) | |
download | go-tangerine-13e3b2f433c48fe81423c1a13e9a5194ece61b01.tar go-tangerine-13e3b2f433c48fe81423c1a13e9a5194ece61b01.tar.gz go-tangerine-13e3b2f433c48fe81423c1a13e9a5194ece61b01.tar.bz2 go-tangerine-13e3b2f433c48fe81423c1a13e9a5194ece61b01.tar.lz go-tangerine-13e3b2f433c48fe81423c1a13e9a5194ece61b01.tar.xz go-tangerine-13e3b2f433c48fe81423c1a13e9a5194ece61b01.tar.zst go-tangerine-13e3b2f433c48fe81423c1a13e9a5194ece61b01.zip |
logger, pow/dagger, pow/ezp: delete dead code
Diffstat (limited to 'swarm')
-rw-r--r-- | swarm/network/protocol.go | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/swarm/network/protocol.go b/swarm/network/protocol.go index 4fffaac6d..763fb0b8e 100644 --- a/swarm/network/protocol.go +++ b/swarm/network/protocol.go @@ -538,13 +538,6 @@ func (self *bzz) protoError(code int, format string, params ...interface{}) (err return } -func (self *bzz) protoErrorDisconnect(err *errs.Error) { - err.Log(glog.V(logger.Info)) - if err.Fatal() { - self.peer.Disconnect(p2p.DiscSubprotocolError) - } -} - func (self *bzz) send(msg uint64, data interface{}) error { if self.hive.blockWrite { return fmt.Errorf("network write blocked") |