From 7da41f0fdc9f24feacccd3b4a27f3ce2f0d5d28c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Magiera?= Date: Tue, 14 Jan 2020 16:12:26 +0100 Subject: [PATCH] miner: Don't fail on actor not found in selectMessages --- miner/miner.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/miner/miner.go b/miner/miner.go index d9d4880f3..16e2a1cc1 100644 --- a/miner/miner.go +++ b/miner/miner.go @@ -403,7 +403,8 @@ func selectMessages(ctx context.Context, al actorLookup, base *MiningBase, msgs if _, ok := inclNonces[from]; !ok { act, err := al(ctx, from, base.ts) 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