From 010dbb52a44406a9c5d4b7b3f37aa22aa298f297 Mon Sep 17 00:00:00 2001 From: giangnamnabka Date: Wed, 21 Jun 2023 15:43:08 +0700 Subject: [PATCH] update fee --- src/store/modules/Transactions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/modules/Transactions.ts b/src/store/modules/Transactions.ts index 2c5d6c55..35c4f7eb 100644 --- a/src/store/modules/Transactions.ts +++ b/src/store/modules/Transactions.ts @@ -142,7 +142,7 @@ const mutations = { function selectUTXOs(isPrivate: boolean, isSpark: boolean, istransparentaddress: boolean, amount: bigint, feePerKb: bigint, subtractFeeFromAmount: boolean, availableUTXOs: TXO[], coinControl: boolean): [bigint, TXO[]] { let constantSize; - if(!isPrivate) { + if(!isPrivate && istransparentaddress) { constantSize = 78n; } else if (isPrivate && !isSpark) { constantSize = 1234n;