mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-25 14:16:44 +00:00
swarm/storage: make NetStore.Put -> cloud.Store synchronous
This commit is contained in:
parent
c6205b2244
commit
cb7e6ccd5b
1 changed files with 2 additions and 1 deletions
|
|
@ -91,7 +91,8 @@ func (self *NetStore) Put(entry *Chunk) {
|
||||||
} else {
|
} else {
|
||||||
glog.V(logger.Detail).Infof("[BZZ] NetStore.Put: localStore.Put %v stored locally", entry.Key.Log())
|
glog.V(logger.Detail).Infof("[BZZ] NetStore.Put: localStore.Put %v stored locally", entry.Key.Log())
|
||||||
// handle propagating store requests
|
// handle propagating store requests
|
||||||
go self.cloud.Store(entry)
|
// go self.cloud.Store(entry)
|
||||||
|
self.cloud.Store(entry)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue