diff --git a/src/store/wallet/effects/transactions/transactions.ts b/src/store/wallet/effects/transactions/transactions.ts index f70db961c7..528c96ffe7 100644 --- a/src/store/wallet/effects/transactions/transactions.ts +++ b/src/store/wallet/effects/transactions/transactions.ts @@ -85,6 +85,14 @@ export const ProcessPendingTxps = const {currencyAbbreviation, chain, tokenAddress} = wallet; txps.forEach((tx: TransactionProposal) => { + // Filter received txs with no effects for ERC20 tokens only + if ( + IsERCToken(currencyAbbreviation, chain) && + tx.effects && + !tx.effects[0] + ) { + return; + } tx = dispatch(ProcessTx(tx, wallet)); // no future transactions... @@ -266,6 +274,11 @@ const ProcessNewTxs = tx.coin = wallet.currencyAbbreviation; tx.chain = wallet.chain; + // Filter received txs with no effects for ERC20 tokens only + if (IsERCToken(tx.coin, tx.chain) && tx.effects && !tx.effects[0]) { + continue; + } + tx = dispatch(ProcessTx(tx, wallet)); // no future transactions...