diff --git a/node/impl/full/state.go b/node/impl/full/state.go index 962162fa4..1d5acb084 100644 --- a/node/impl/full/state.go +++ b/node/impl/full/state.go @@ -779,6 +779,8 @@ func (a *StateAPI) StateSectorPreCommitInfo(ctx context.Context, maddr address.A pci, err := stmgr.PreCommitInfo(ctx, a.StateManager, maddr, n, ts) if err != nil { return miner.SectorPreCommitOnChainInfo{}, err + } else if pci == nil { + return miner.SectorPreCommitOnChainInfo{}, nil } return *pci, err