Skip to content

Commit

Permalink
lotus-pcr: don't send messages for unprocessed deals
Browse files Browse the repository at this point in the history
  • Loading branch information
travisperson committed Oct 11, 2020
1 parent ae160ed commit ca5c3ba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/lotus-pcr/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -919,6 +919,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
Expand Down

0 comments on commit ca5c3ba

Please sign in to comment.