aboutsummaryrefslogtreecommitdiffstats
path: root/swarm/swarm.go
diff options
context:
space:
mode:
Diffstat (limited to 'swarm/swarm.go')
-rw-r--r--swarm/swarm.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/swarm/swarm.go b/swarm/swarm.go
index 0cd56d4eb..5b6938754 100644
--- a/swarm/swarm.go
+++ b/swarm/swarm.go
@@ -197,6 +197,11 @@ func NewSwarm(config *api.Config, mockStore *mock.NodeStore) (self *Swarm, err e
resourceHandler,
}
+ err = lstore.Migrate()
+ if err != nil {
+ return nil, err
+ }
+
log.Debug("Setup local storage")
self.bzz = network.NewBzz(bzzconfig, to, stateStore, stream.Spec, self.streamer.Run)