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 committed Mar 6, 2019
1 parent a34fb6d commit 8dd9349
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 @@ -104,7 +104,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 8dd9349

Please sign in to comment.