storagenode/payouts: estimation payout heldamount rounding removed
Change-Id: I9fdc7cda15de0df8875436b0b376f0e6479d3aeb
This commit is contained in:
parent
0ec685b173
commit
c409194d43
@ -47,7 +47,7 @@ func (pm *PayoutMonthly) SetDiskSpacePayout(diskSpacePrice int64) {
|
|||||||
// SetHeldAmount counts held amount for PayoutMonthly object.
|
// SetHeldAmount counts held amount for PayoutMonthly object.
|
||||||
func (pm *PayoutMonthly) SetHeldAmount() {
|
func (pm *PayoutMonthly) SetHeldAmount() {
|
||||||
amount := (pm.DiskSpacePayout + pm.EgressBandwidthPayout + pm.EgressRepairAuditPayout) * pm.HeldRate / 100
|
amount := (pm.DiskSpacePayout + pm.EgressBandwidthPayout + pm.EgressRepairAuditPayout) * pm.HeldRate / 100
|
||||||
pm.Held = RoundFloat(amount)
|
pm.Held = amount
|
||||||
}
|
}
|
||||||
|
|
||||||
// SetPayout counts payout amount for PayoutMonthly object.
|
// SetPayout counts payout amount for PayoutMonthly object.
|
||||||
|
Loading…
Reference in New Issue
Block a user