Merge pull request #2506 from filecoin-project/asr/null-tipset

API documentation must not tell lies
This commit is contained in:
Łukasz Magiera
2020-07-23 22:07:36 +02:00
committed by GitHub
+1 -1
View File
@@ -57,7 +57,7 @@ type FullNode interface {
ChainGetParentMessages(ctx context.Context, blockCid cid.Cid) ([]Message, error)
// ChainGetTipSetByHeight looks back for a tipset at the specified epoch.
// If there are no blocks at the specified epoch, a tipset at higher epoch
// If there are no blocks at the specified epoch, a tipset at an earlier epoch
// will be returned.
ChainGetTipSetByHeight(context.Context, abi.ChainEpoch, types.TipSetKey) (*types.TipSet, error)