remove print ... 0 sat coinbase ignore is working

This commit is contained in:
blackjok3r
2018-11-10 18:45:39 +08:00
parent 3ce2f4ec50
commit bf554eb6cf

View File

@@ -1210,10 +1210,7 @@ bool CWallet::AddToWalletIfInvolvingMe(const CTransaction& tx, const CBlock* pbl
{
AssertLockHeld(cs_wallet);
if ( tx.IsCoinBase() && tx.vout[0].nValue == 0 )
{
fprintf(stderr, "ZERO sat coinbase, ignored!\n");
return false;
}
bool fExisted = mapWallet.count(tx.GetHash()) != 0;
if (fExisted && !fUpdate) return false;
auto noteData = FindMyNotes(tx);