miner: Don't fail on actor not found in selectMessages

This commit is contained in:
Łukasz Magiera 2020-01-14 16:12:26 +01:00
parent 0011c321e2
commit 7da41f0fdc

View File

@ -403,7 +403,8 @@ func selectMessages(ctx context.Context, al actorLookup, base *MiningBase, msgs
if _, ok := inclNonces[from]; !ok { if _, ok := inclNonces[from]; !ok {
act, err := al(ctx, from, base.ts) act, err := al(ctx, from, base.ts)
if err != nil { if err != nil {
return nil, xerrors.Errorf("failed to check message sender balance: %w", err) log.Warnf("failed to check message sender balance, skipping message: %+v", err)
continue
} }
inclNonces[from] = act.Nonce inclNonces[from] = act.Nonce