From e7a68dba58d7583c0d3e337a8e0794d5d29773c4 Mon Sep 17 00:00:00 2001 From: jennijuju Date: Tue, 20 Oct 2020 02:28:43 -0400 Subject: [PATCH] Add a comment to BlockMessages to address #4446. --- api/api_full.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/api_full.go b/api/api_full.go index 772a0d709..57ca5bcfd 100644 --- a/api/api_full.go +++ b/api/api_full.go @@ -591,6 +591,8 @@ type MsgGasCost struct { TotalCost abi.TokenAmount } +// BlsMessages[x].cid = Cids[x] +// SecpkMessages[y].cid = Cids[BlsMessages.length + y] type BlockMessages struct { BlsMessages []*types.Message SecpkMessages []*types.SignedMessage