From 7a00d8ed084df6fff2fdfd3447f9d515413ee7dc Mon Sep 17 00:00:00 2001 From: John Oshalusi Date: Thu, 5 Dec 2024 12:35:43 +0100 Subject: [PATCH] fix: increase ada buffer limit in max ada calculation --- apps/browser-extension-wallet/src/hooks/useMaxAda.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/browser-extension-wallet/src/hooks/useMaxAda.ts b/apps/browser-extension-wallet/src/hooks/useMaxAda.ts index d576559f46..3a2b498a75 100644 --- a/apps/browser-extension-wallet/src/hooks/useMaxAda.ts +++ b/apps/browser-extension-wallet/src/hooks/useMaxAda.ts @@ -12,7 +12,7 @@ import { subtractValueQuantities } from '@cardano-sdk/core'; const { getTotalMinimumCoins, setMissingCoins } = Wallet; export const UTXO_DEPLETED_ADA_BUFFER = 1_000_000; -export const ADA_BUFFER_LIMIT = UTXO_DEPLETED_ADA_BUFFER * 10; +export const ADA_BUFFER_LIMIT = UTXO_DEPLETED_ADA_BUFFER * 50; interface GetCoinsForTokens { address: Wallet.Cardano.PaymentAddress;