Merge pull request #4229 from filecoin-project/fix/lotus-pcr-zero-refund

lotus-pcr: zero refund
This commit is contained in:
Travis Person 2020-10-07 15:33:28 -07:00 committed by GitHub
commit 7c7e0d73d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1025,9 +1025,9 @@ func (r *refunder) ProcessTipset(ctx context.Context, tipset *types.TipSet, refu
return nil, nil
}
refundValue := types.NewInt(0)
tipsetRefunds := NewMinersRefund()
for i, msg := range msgs {
refundValue := types.NewInt(0)
m := msg.Message
a, err := r.api.StateGetActor(ctx, m.To, tipset.Key())