Merge pull request #4491 from filecoin-project/one-liner

Add a comment to BlockMessages to address #4446.
This commit is contained in:
Łukasz Magiera 2020-10-20 12:49:37 +02:00 committed by GitHub
commit 0dbf10ce69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -591,6 +591,8 @@ type MsgGasCost struct {
TotalCost abi.TokenAmount TotalCost abi.TokenAmount
} }
// BlsMessages[x].cid = Cids[x]
// SecpkMessages[y].cid = Cids[BlsMessages.length + y]
type BlockMessages struct { type BlockMessages struct {
BlsMessages []*types.Message BlsMessages []*types.Message
SecpkMessages []*types.SignedMessage SecpkMessages []*types.SignedMessage