From a61e498f21239ae2922f4112004b7ba8d69f225e Mon Sep 17 00:00:00 2001 From: alter-eggo Date: Mon, 18 Mar 2024 17:03:32 +0400 Subject: [PATCH] fix: send inputs in check utxos analytics event --- src/app/query/bitcoin/transaction/use-check-utxos.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/app/query/bitcoin/transaction/use-check-utxos.ts b/src/app/query/bitcoin/transaction/use-check-utxos.ts index 18560c1ea87..8ecbda64b4b 100644 --- a/src/app/query/bitcoin/transaction/use-check-utxos.ts +++ b/src/app/query/bitcoin/transaction/use-check-utxos.ts @@ -126,6 +126,7 @@ export function useCheckInscribedUtxos(blockTxAction?: () => void) { if (hasInscribedUtxo) { void analytics.track('utxos_includes_inscribed_one', { txids, + inputs, }); preventTransaction(); return true; @@ -140,6 +141,7 @@ export function useCheckInscribedUtxos(blockTxAction?: () => void) { void analytics.track('error_checking_utxos_from_ordinalscom', { txids, + inputs, }); const hasInscribedUtxo = await checkInscribedUtxosByBestinslot({ @@ -152,6 +154,7 @@ export function useCheckInscribedUtxos(blockTxAction?: () => void) { if (hasInscribedUtxo) { void analytics.track('utxos_includes_inscribed_one', { txids, + inputs, }); preventTransaction(); return true;