fix log.Error; rename RemoteStore

This commit is contained in:
Anton Evangelatov
2021-06-09 13:05:54 +02:00
parent 9ab84bdc0a
commit beb5bffaf6
5 changed files with 7 additions and 9 deletions
+2 -2
View File
@@ -50,7 +50,7 @@ type StorageMinerAPI struct {
Full api.FullNode
LocalStore *stores.Local
ReboteStore *stores.Remote
RemoteStore *stores.Remote
// Markets
PieceStore dtypes.ProviderPieceStore `optional:"true"`
@@ -291,7 +291,7 @@ func (sm *StorageMinerAPI) SectorsRefs(context.Context) (map[string][]api.Sealed
}
func (sm *StorageMinerAPI) StorageStat(ctx context.Context, id stores.ID) (fsutil.FsStat, error) {
return sm.ReboteStore.FsStat(ctx, id)
return sm.RemoteStore.FsStat(ctx, id)
}
func (sm *StorageMinerAPI) SectorStartSealing(ctx context.Context, number abi.SectorNumber) error {