mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 10:22:23 +00:00
swarm: schemas and migrations
This commit is contained in:
parent
bfa0f96822
commit
37bf2006d5
1 changed files with 5 additions and 0 deletions
|
|
@ -159,6 +159,11 @@ func NewSwarm(config *api.Config, mockStore *mock.NodeStore) (self *Swarm, err e
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
err = lstore.Migrate()
|
||||||
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
|
||||||
self.netStore, err = storage.NewNetStore(lstore, nil)
|
self.netStore, err = storage.NewNetStore(lstore, nil)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue