Only do p2wpkh check in front.
MODIFY
WalletWasabi/Services/TransactionProcessor.cs
WalletWasabi/Services/TransactionProcessor.cs
@@ -39,13 +39,13 @@ namespace WalletWasabi.Services
uint256 txId = tx.GetHash();
var walletRelevant = false;
- if (tx.Confirmed)
- {
if (!tx.Transaction.PossiblyP2WPKHInvolved())
{
return false; // We do not care about non-witness transactions for other than mempool cleanup.
}
+ if (tx.Confirmed)
+ {
bool isFoundTx = TransactionCache.Contains(tx); // If we have in cache, update height.
if (isFoundTx)
{
@@ -62,10 +62,6 @@ namespace WalletWasabi.Services
}
}
}
- else if (!tx.Transaction.PossiblyP2WPKHInvolved())
- {
- return false; // We do not care about non-witness transactions for other than mempool cleanup.
- }
if (!tx.Transaction.IsCoinBase) // Transactions we already have and processed would be "double spends" but they shouldn't.
{

Only do p2wpkh check in front.