Skip to content

Commit 2e2a585

Browse files
authored
Merge pull request #1560 from cyrossignol/suppress-neural-vote-log
Move legacy neural vote warnings to debug log level
2 parents e1de876 + 5730412 commit 2e2a585

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7003,12 +7003,12 @@ void IncrementNeuralNetworkSupermajority(const std::string& NeuralHash, const st
70037003
bool validaddresstovote = address.IsValid();
70047004
if (!validaddresstovote)
70057005
{
7006-
LogPrintf("INNS : Vote found in block with invalid GRC address. HASH: %s GRC: %s", NeuralHash, GRCAddress);
7006+
if (fDebug) LogPrintf("INNS : Vote found in block with invalid GRC address. HASH: %s GRC: %s", NeuralHash, GRCAddress);
70077007
return;
70087008
}
70097009
if (!IsNeuralNodeParticipant(GRCAddress, pblockindex->nTime))
70107010
{
7011-
LogPrintf("INNS : Vote found in block from ineligible neural node participant. HASH: %s GRC: %s", NeuralHash, GRCAddress);
7011+
if (fDebug) LogPrintf("INNS : Vote found in block from ineligible neural node participant. HASH: %s GRC: %s", NeuralHash, GRCAddress);
70127012
return;
70137013
}
70147014
}

0 commit comments

Comments
 (0)