diff --git a/node/impl/full/state.go b/node/impl/full/state.go index 99e10ede4a2..29f21b863e8 100644 --- a/node/impl/full/state.go +++ b/node/impl/full/state.go @@ -686,7 +686,7 @@ func (a *StateAPI) StateSectorPreCommitInfo(ctx context.Context, maddr address.A if err != nil { return miner.SectorPreCommitOnChainInfo{}, err } else if pci == nil { - return miner.SectorPreCommitOnChainInfo{}, nil + return nil, xerrors.Errorf("precommit info is not exists") } return *pci, err