aboutsummaryrefslogtreecommitdiffstats
path: root/swarm/network/protocol.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2017-08-15 00:44:17 +0800
committerGitHub <noreply@github.com>2017-08-15 00:44:17 +0800
commit2403656373f1250e3668227bd9fc94e6e95412b9 (patch)
tree53ddfebc6a77ea7b8a3f7ac81c58baa8168f729e /swarm/network/protocol.go
parentef0edc6e32d98d2fca54076f38cb317f43704900 (diff)
parent133de3d80659680dc051065cb3baddd92a4e45c5 (diff)
downloadgo-tangerine-2403656373f1250e3668227bd9fc94e6e95412b9.tar.gz
go-tangerine-2403656373f1250e3668227bd9fc94e6e95412b9.tar.zst
go-tangerine-2403656373f1250e3668227bd9fc94e6e95412b9.zip
Merge pull request #14951 from egonelbre/megacheck_swarm
swarm: fix megacheck warnings
Diffstat (limited to 'swarm/network/protocol.go')
-rw-r--r--swarm/network/protocol.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/swarm/network/protocol.go b/swarm/network/protocol.go
index d013b3109..2f880df57 100644
--- a/swarm/network/protocol.go
+++ b/swarm/network/protocol.go
@@ -40,7 +40,6 @@ import (
"github.com/ethereum/go-ethereum/contracts/chequebook"
"github.com/ethereum/go-ethereum/log"
"github.com/ethereum/go-ethereum/p2p"
- "github.com/ethereum/go-ethereum/p2p/discover"
bzzswap "github.com/ethereum/go-ethereum/swarm/services/swap"
"github.com/ethereum/go-ethereum/swarm/services/swap/swap"
"github.com/ethereum/go-ethereum/swarm/storage"
@@ -56,8 +55,6 @@ const (
// bzz represents the swarm wire protocol
// an instance is running on each peer
type bzz struct {
- selfID discover.NodeID // peer's node id used in peer advertising in handshake
- key storage.Key // baseaddress as storage.Key
storage StorageHandler // handler storage/retrieval related requests coming via the bzz wire protocol
hive *Hive // the logistic manager, peerPool, routing service and peer handler
dbAccess *DbAccess // access to db storage counter and iterator for syncing