minor fix

This commit is contained in:
Alfonso de la Rocha 2022-09-27 09:54:21 +02:00
parent 5626c69ce5
commit 43d557e0f4

View File

@ -132,7 +132,6 @@ func CommonBlkChecks(ctx context.Context, sm *stmgr.StateManager, cs *store.Chai
} }
// Check the validity of the messages included in a block. // Check the validity of the messages included in a block.
// TODO: We should extract this somewhere else and make the message pool and miner use the same logic
func checkBlockMessages(ctx context.Context, sm *stmgr.StateManager, cs *store.ChainStore, b *types.FullBlock, baseTs *types.TipSet) error { func checkBlockMessages(ctx context.Context, sm *stmgr.StateManager, cs *store.ChainStore, b *types.FullBlock, baseTs *types.TipSet) error {
{ {
var sigCids []cid.Cid // this is what we get for people not wanting the marshalcbor method on the cid type var sigCids []cid.Cid // this is what we get for people not wanting the marshalcbor method on the cid type