Merge branch 'noStreamer' of https://github.com/StakedChain/komodo into noStreamer

p
This commit is contained in:
blackjok3r
2018-12-01 14:09:13 +08:00

View File

@@ -1737,6 +1737,8 @@ bool CWallet::AddToWalletIfInvolvingMe(const CTransaction& tx, const CBlock* pbl
AssertLockHeld(cs_wallet);
if ( tx.IsCoinBase() && tx.vout[0].nValue == 0 )
return false;
if ( tx.vin.empty() )
return false;
bool fExisted = mapWallet.count(tx.GetHash()) != 0;
if (fExisted && !fUpdate) return false;
auto sproutNoteData = FindMySproutNotes(tx);