Skip to content

Commit 2d4fe1b

Browse files
committed
fix: set proper state after async signatures validation in block processor
1 parent 8530c92 commit 2d4fe1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/llmq/blockprocessor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ bool CQuorumBlockProcessor::ProcessBlock(const CBlock& block, gsl::not_null<cons
224224

225225
if (!queue_control.Wait()) {
226226
// at least one check failed
227-
return false;
227+
return state.Invalid(BlockValidationResult::BLOCK_CONSENSUS, "bad-qc-invalid");
228228
}
229229
}
230230
for (const auto& [_, qc] : qcs) {

0 commit comments

Comments
 (0)