Skip to content

Commit

Permalink
Don't be too harsh for invalid CLSIGs (#2742)
Browse files Browse the repository at this point in the history
The local node might be the bad one actually as it might not have catched
up with the chain. In that case, LLMQs might be different for the sending
and receiving node.
  • Loading branch information
codablock authored and panleone committed Nov 5, 2024
1 parent f255314 commit 924ee8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/llmq/quorums_chainlocks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ void CChainLocksHandler::ProcessNewChainLock(NodeId from, const llmq::CChainLock
LogPrintf("CChainLocksHandler::%s -- invalid CLSIG (%s), peer=%d\n", __func__, clsig.ToString(), from);
if (from != -1) {
LOCK(cs_main);
Misbehaving(from, 100);
Misbehaving(from, 10);
}
return;
}
Expand Down

0 comments on commit 924ee8f

Please sign in to comment.