diff --git a/project/src/services/PaymentService.ts b/project/src/services/PaymentService.ts index 590d2329..a4c3d476 100644 --- a/project/src/services/PaymentService.ts +++ b/project/src/services/PaymentService.ts @@ -224,7 +224,7 @@ export class PaymentService const rootCurrencyReward = { _id: this.hashUtil.generate(), _tpl: currency, - upd: { StackObjectsCount: calcAmount }, + upd: { StackObjectsCount: Math.round(calcAmount) }, }; // Ensure money is properly split to follow its max stack size limit