fix lotus-provider build

This commit is contained in:
Łukasz Magiera 2023-11-15 15:50:32 +01:00
parent f0a931edc9
commit d82da79e8a

View File

@ -269,7 +269,7 @@ type Deps struct {
as *ctladdr.AddressSelector as *ctladdr.AddressSelector
maddrs []dtypes.MinerAddress maddrs []dtypes.MinerAddress
stor *paths.Remote stor *paths.Remote
si *paths.IndexProxy si *paths.DBIndex
localStore *paths.Local localStore *paths.Local
listenAddr string listenAddr string
} }
@ -348,7 +348,7 @@ Get it with: jq .PrivateKey ~/.lotus-miner/keystore/MF2XI2BNNJ3XILLQOJUXMYLUMU`,
} }
al := alerting.NewAlertingSystem(j) al := alerting.NewAlertingSystem(j)
si := paths.NewIndexProxy(al, db, true) si := paths.NewDBIndex(al, db)
bls := &paths.BasicLocalStorage{ bls := &paths.BasicLocalStorage{
PathToJSON: cctx.String("storage-json"), PathToJSON: cctx.String("storage-json"),
} }