Merge pull request #4341 from filecoin-project/fix/lotus-pcr-skip-non-processes

lotus-pcr: ignore all other market messages
This commit is contained in:
Travis Person 2020-10-12 16:07:57 -07:00 committed by GitHub
commit 8232cc8415
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -884,6 +884,8 @@ func (r *refunder) processTipsetStorageMarketActor(ctx context.Context, tipset *
}
refundValue = types.BigMul(types.NewInt(uint64(recp.GasUsed)), tipset.Blocks()[0].ParentBaseFee)
default:
return false, messageMethod, types.NewInt(0), nil
}
return true, messageMethod, refundValue, nil