Update chain/blocksync/server.go

Co-authored-by: Łukasz Magiera <magik6k@users.noreply.github.com>
This commit is contained in:
Lucas Molas 2020-09-02 17:07:39 -03:00 committed by GitHub
parent 9a5542100a
commit ca8f5861fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -245,7 +245,7 @@ func gatherMessages(cs *store.ChainStore, ts *types.TipSet) ([]*types.Message, [
blsincl = append(blsincl, bmi)
smi := make([]uint64, 0, len(sc))
for _, m := range secpkcids {
for _, m := range sc {
i, ok := secpkmsgmap[m]
if !ok {
i = uint64(len(secpkcids))