aboutsummaryrefslogtreecommitdiffstats
path: root/swarm
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2017-01-06 23:55:03 +0800
committerFelix Lange <fjl@twurst.com>2017-01-07 01:18:07 +0800
commit13e3b2f433c48fe81423c1a13e9a5194ece61b01 (patch)
tree19ff7c32597a41bbfe7ccc0d32ecaed05d0e6132 /swarm
parentf2da6581ba827a2aab091f764ace8017b26450d8 (diff)
downloadgo-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.go7
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")