diff --git a/src/app/query/bitcoin/address/utxos-by-address.hooks.ts b/src/app/query/bitcoin/address/utxos-by-address.hooks.ts index 7aaf3a6fd0f..0b86e2e17f7 100644 --- a/src/app/query/bitcoin/address/utxos-by-address.hooks.ts +++ b/src/app/query/bitcoin/address/utxos-by-address.hooks.ts @@ -2,26 +2,14 @@ import { useNativeSegwitUtxosByAddress } from '@leather.io/query'; import { useCurrentAccountNativeSegwitIndexZeroSigner } from '@app/store/accounts/blockchain/bitcoin/native-segwit-account.hooks'; -const defaultArgs = { - filterInscriptionUtxos: true, - filterPendingTxsUtxos: true, - filterRunesUtxos: true, -}; - -/** - * Warning: ⚠️ To avoid spending inscriptions, when using UTXOs - * we set `filterInscriptionUtxos` and `filterPendingTxsUtxos` to true - */ -export function useCurrentNativeSegwitUtxos(args = defaultArgs) { - const { filterInscriptionUtxos, filterPendingTxsUtxos, filterRunesUtxos } = args; - +export function useCurrentNativeSegwitUtxos() { const nativeSegwitSigner = useCurrentAccountNativeSegwitIndexZeroSigner(); const address = nativeSegwitSigner.address; return useNativeSegwitUtxosByAddress({ address, - filterInscriptionUtxos, - filterPendingTxsUtxos, - filterRunesUtxos, + filterInscriptionUtxos: false, + filterPendingTxsUtxos: true, + filterRunesUtxos: false, }); }