diff --git a/web/cashtab/src/hooks/useWallet.js b/web/cashtab/src/hooks/useWallet.js --- a/web/cashtab/src/hooks/useWallet.js +++ b/web/cashtab/src/hooks/useWallet.js @@ -924,6 +924,12 @@ // Parse chronik ws message for incoming tx notifications const processChronikWsMsg = async (msg, wallet, fiatPrice) => { + // get the message type + const { type } = msg; + // For now, only act on "first seen" transactions, as the only logic to happen is first seen notifications + if (type !== 'AddedToMempool') { + return; + } // get txid info const txid = msg.txid; const txDetails = await chronik.tx(txid);