Fix pegin transactions not showing up in transaction list.

This commit is contained in:
David Burkett 2022-04-10 02:07:07 -04:00 committed by Loshan T
parent 450fe234f5
commit e1edf6ba30

View File

@ -283,7 +283,7 @@ bool TxList::IsAllToMe(const CWalletTx& wtx)
mw::Hash kernel_id;
if (!output.IsMWEB() && output.GetScriptPubKey().IsMWEBPegin(&kernel_id)) {
if (wtx.tx->HasMWEBTx() && wtx.tx->mweb_tx.GetKernelIDs().count(kernel_id) > 0) {
return false;
continue;
}
}