The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Math.floor
Steven Teydb4b3c23e099
diff --git a/apps/web/lib/partners/create-stablecoin-payout.ts b/apps/web/lib/partners/create-stablecoin-payout.tsindex 9a2e2d8cc8..ee15de46e2 100644--- a/apps/web/lib/partners/create-stablecoin-payout.ts+++ b/apps/web/lib/partners/create-stablecoin-payout.ts@@ -148,6 +148,9 @@ export const createStablecoinPayout = async ({totalTransferableAmount -=totalTransferableAmount * STABLECOIN_PAYOUT_FEE_RATE + withdrawalFee;+ // Round down to the nearest integer+ totalTransferableAmount = Math.floor(totalTransferableAmount);+const stripeRecipientAccount = await getStripeRecipientAccount(partner.stripeRecipientId,);