Merge pull request #1078 from filecoin-project/fix/seselctmsgs-softfail

miner: Don't fail on actor not found in selectMessages
This commit is contained in:
Jakub Sztandera 2020-01-14 16:17:14 +01:00 committed by GitHub
commit e9351135bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -393,7 +393,7 @@ func TestAPIRPC(t *testing.T) {
}
func TestAPIDealFlow(t *testing.T) {
test.TestDealFlow(t, mockSbBuilder, 10 * time.Millisecond)
test.TestDealFlow(t, mockSbBuilder, 10*time.Millisecond)
}
func TestAPIDealFlowReal(t *testing.T) {