From 52633e87f8f9410b120b7dbfbc889cf81129b91a Mon Sep 17 00:00:00 2001 From: Slava Date: Wed, 13 Nov 2024 20:03:40 +0300 Subject: [PATCH] chore: flip condition --- sdk/src/wallet/utxo.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/src/wallet/utxo.ts b/sdk/src/wallet/utxo.ts index c621e9e4..ccf5fbc7 100644 --- a/sdk/src/wallet/utxo.ts +++ b/sdk/src/wallet/utxo.ts @@ -127,7 +127,7 @@ export async function createBitcoinPsbt( publicKey ); // to support taproot addresses we want to exclude outputs which contain inscriptions - if (!outpointsSet.has(OutPoint.toString(utxo))) possibleInputs.push(input); + if (outpointsSet.has(OutPoint.toString(utxo))) possibleInputs.push(input); }) );