diff options
author | Egon Elbre <egonelbre@gmail.com> | 2017-08-09 01:34:35 +0800 |
---|---|---|
committer | Egon Elbre <egonelbre@gmail.com> | 2017-08-14 23:12:37 +0800 |
commit | 133de3d80659680dc051065cb3baddd92a4e45c5 (patch) | |
tree | cc67ede99634e335f8a07a5b0b084877cb8282d7 /swarm/swarm.go | |
parent | 6ca59d98f88d4b4cc8bdeb2f023ff8c1fa228c6f (diff) | |
download | go-tangerine-133de3d80659680dc051065cb3baddd92a4e45c5.tar.gz go-tangerine-133de3d80659680dc051065cb3baddd92a4e45c5.tar.zst go-tangerine-133de3d80659680dc051065cb3baddd92a4e45c5.zip |
swarm: fix megacheck warnings
Diffstat (limited to 'swarm/swarm.go')
-rw-r--r-- | swarm/swarm.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/swarm/swarm.go b/swarm/swarm.go index 830490843..9db15325a 100644 --- a/swarm/swarm.go +++ b/swarm/swarm.go @@ -115,11 +115,11 @@ func NewSwarm(ctx *node.ServiceContext, backend chequebook.Backend, ensClient *e log.Debug(fmt.Sprintf("Set up swarm network with Kademlia hive")) // setup cloud storage backend - cloud := network.NewForwarder(self.hive) + self.cloud = network.NewForwarder(self.hive) log.Debug(fmt.Sprintf("-> set swarm forwarder as cloud storage backend")) - // setup cloud storage internal access layer - self.storage = storage.NewNetStore(hash, self.lstore, cloud, config.StoreParams) + // setup cloud storage internal access layer + self.storage = storage.NewNetStore(hash, self.lstore, self.cloud, config.StoreParams) log.Debug(fmt.Sprintf("-> swarm net store shared access layer to Swarm Chunk Store")) // set up Depo (storage handler = cloud storage access layer for incoming remote requests) |