diff --git a/swarm/swarm.go b/swarm/swarm.go index aea0989a1e..3c6bda445e 100644 --- a/swarm/swarm.go +++ b/swarm/swarm.go @@ -159,6 +159,11 @@ func NewSwarm(config *api.Config, mockStore *mock.NodeStore) (self *Swarm, err e return nil, err } + err = lstore.Migrate() + if err != nil { + return nil, err + } + self.netStore, err = storage.NewNetStore(lstore, nil) if err != nil { return nil, err