From 55a50727fae17691709409621b22d654ee990492 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Magiera?= Date: Wed, 14 Feb 2024 15:27:34 +0100 Subject: [PATCH] lp rpc: Fix StorageStat --- cmd/lotus-provider/rpc/rpc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/lotus-provider/rpc/rpc.go b/cmd/lotus-provider/rpc/rpc.go index b5d7d8dce..54eec45e8 100644 --- a/cmd/lotus-provider/rpc/rpc.go +++ b/cmd/lotus-provider/rpc/rpc.go @@ -145,7 +145,7 @@ func (p *ProviderAPI) StorageLocal(ctx context.Context) (map[storiface.ID]string } func (p *ProviderAPI) StorageStat(ctx context.Context, id storiface.ID) (fsutil.FsStat, error) { - return p.LocalStore.FsStat(ctx, id) + return p.Stor.FsStat(ctx, id) } func (p *ProviderAPI) Version(context.Context) (api.Version, error) {