Planning
This commit is contained in:
@@ -52,4 +52,4 @@ export function xmrCommission(gross: bigint, bps: number): bigint {
|
||||
assertXmrAmount(gross);
|
||||
if (!Number.isSafeInteger(bps) || bps < 0 || bps > 10_000) throw new Error('Invalid commission basis points');
|
||||
return gross * BigInt(bps) / 10_000n;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user