aboutsummaryrefslogtreecommitdiffstats
path: root/swarm/network
diff options
context:
space:
mode:
authorZahoor Mohamed <zahoor@zahoor.in>2017-09-22 04:22:51 +0800
committerFelix Lange <fjl@users.noreply.github.com>2017-09-22 04:22:51 +0800
commitd558a595adf4e89bab5b28ffde1448dc1e5768b0 (patch)
tree1316cca927bfd4dfc4a8673ae0b9c2f75724f07e /swarm/network
parent3c8656347f67dbc8e57c663ec5c26d24c4151678 (diff)
downloaddexon-d558a595adf4e89bab5b28ffde1448dc1e5768b0.tar
dexon-d558a595adf4e89bab5b28ffde1448dc1e5768b0.tar.gz
dexon-d558a595adf4e89bab5b28ffde1448dc1e5768b0.tar.bz2
dexon-d558a595adf4e89bab5b28ffde1448dc1e5768b0.tar.lz
dexon-d558a595adf4e89bab5b28ffde1448dc1e5768b0.tar.xz
dexon-d558a595adf4e89bab5b28ffde1448dc1e5768b0.tar.zst
dexon-d558a595adf4e89bab5b28ffde1448dc1e5768b0.zip
swarm/storage: pyramid chunker re-write (#14382)
Diffstat (limited to 'swarm/network')
-rw-r--r--swarm/network/depo.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/swarm/network/depo.go b/swarm/network/depo.go
index e76bfa66c..8695bf5d9 100644
--- a/swarm/network/depo.go
+++ b/swarm/network/depo.go
@@ -29,12 +29,12 @@ import (
// Handler for storage/retrieval related protocol requests
// implements the StorageHandler interface used by the bzz protocol
type Depo struct {
- hashfunc storage.Hasher
+ hashfunc storage.SwarmHasher
localStore storage.ChunkStore
netStore storage.ChunkStore
}
-func NewDepo(hash storage.Hasher, localStore, remoteStore storage.ChunkStore) *Depo {
+func NewDepo(hash storage.SwarmHasher, localStore, remoteStore storage.ChunkStore) *Depo {
return &Depo{
hashfunc: hash,
localStore: localStore,