Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

address CR feedback

Steven Tey2022127a65df
diff --git a/apps/web/lib/partners/create-stablecoin-payout.ts b/apps/web/lib/partners/create-stablecoin-payout.ts
index 851be1faff..1199d67bcf 100644
--- a/apps/web/lib/partners/create-stablecoin-payout.ts
+++ b/apps/web/lib/partners/create-stablecoin-payout.ts
@@ -270,7 +270,7 @@ export const createStablecoinPayout = async ({
// we need to add the STABLECOIN_PAYOUT_FIXED_FEE_CENTS to the amount to transfer to the FA (to cover the Stablecoin payout fee)
amount:
amountToTransferToFA +
- (currentInvoicePayouts.length === 0
+ (currentInvoicePayouts.length === 0 && forceWithdrawal
? STABLECOIN_PAYOUT_FIXED_FEE_CENTS
: 0),
idempotencyKey,