In the wallet, we are double-counting txs that come in through the wallet socket message, because it sends one message for UNCONFIRMED and a second one for PENDING, which will show a "X new transactions Refresh" popup with a total of 2x the number of new transactions.
In the wallet, we are double-counting txs that come in through the wallet socket message, because it sends one message for UNCONFIRMED and a second one for PENDING, which will show a "X new transactions Refresh" popup with a total of 2x the number of new transactions.
This tweak will only count each tx once instead.