swarm: Chunk refactor (#17659)

Co-authored-by: Janos Guljas <janos@resenje.org>
Co-authored-by: Balint Gabor <balint.g@gmail.com>
Co-authored-by: Anton Evangelatov <anton.evangelatov@gmail.com>
Co-authored-by: Viktor Trón <viktor.tron@gmail.com>
This commit is contained in:
Balint Gabor
2018-09-13 11:42:19 +02:00
committed by GitHub
parent ff3a5d24d2
commit 3ff2f75636
55 changed files with 3193 additions and 1925 deletions

View File

@@ -82,8 +82,8 @@ func TestNewSwarm(t *testing.T) {
if s.dns != nil {
t.Error("dns initialized, but it should not be")
}
if s.lstore == nil {
t.Error("localstore not initialized")
if s.netStore == nil {
t.Error("netStore not initialized")
}
if s.streamer == nil {
t.Error("streamer not initialized")
@@ -91,9 +91,6 @@ func TestNewSwarm(t *testing.T) {
if s.fileStore == nil {
t.Error("fileStore not initialized")
}
if s.lstore.Validators == nil {
t.Error("localstore validators not initialized")
}
if s.bzz == nil {
t.Error("bzz not initialized")
}