This commit is contained in:
2026-10-20 13:00:08 -04:00
parent a1de67ea14
commit bcd8630a8e
18 changed files with 483 additions and 172 deletions
+1 -1
View File
@@ -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;
}
}