aboutsummaryrefslogtreecommitdiffstats
path: root/swarm/swarm_test.go
diff options
context:
space:
mode:
authorBalint Gabor <balint.g@gmail.com>2018-09-13 17:42:19 +0800
committerGitHub <noreply@github.com>2018-09-13 17:42:19 +0800
commit3ff2f756368f2d8ec0d1d9d25f6ba9cdabd7383e (patch)
tree62a2896b3b824449595272f0b92dda877ba1c58d /swarm/swarm_test.go
parentff3a5d24d2e40fd66f7813173e9cfc31144f3c53 (diff)
downloadgo-tangerine-3ff2f756368f2d8ec0d1d9d25f6ba9cdabd7383e.tar
go-tangerine-3ff2f756368f2d8ec0d1d9d25f6ba9cdabd7383e.tar.gz
go-tangerine-3ff2f756368f2d8ec0d1d9d25f6ba9cdabd7383e.tar.bz2
go-tangerine-3ff2f756368f2d8ec0d1d9d25f6ba9cdabd7383e.tar.lz
go-tangerine-3ff2f756368f2d8ec0d1d9d25f6ba9cdabd7383e.tar.xz
go-tangerine-3ff2f756368f2d8ec0d1d9d25f6ba9cdabd7383e.tar.zst
go-tangerine-3ff2f756368f2d8ec0d1d9d25f6ba9cdabd7383e.zip
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>
Diffstat (limited to 'swarm/swarm_test.go')
-rw-r--r--swarm/swarm_test.go7
1 files changed, 2 insertions, 5 deletions
diff --git a/swarm/swarm_test.go b/swarm/swarm_test.go
index 0827748ae..c6569e37b 100644
--- a/swarm/swarm_test.go
+++ b/swarm/swarm_test.go
@@ -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")
}