CLI: Fix typo in option name

This commit is contained in:
Leonetienne
2022-08-12 09:12:44 +02:00
parent 35f577dafa
commit a61546b9be
5 changed files with 19 additions and 19 deletions
+3 -3
View File
@@ -323,16 +323,16 @@ bool DataIngestionLayer::ReachedEOF() {
}
bool DataIngestionLayer::IsBlockReady() {
// We're not ready, if we haven't reached EOF, if we should puffer
// We're not ready, if we haven't reached EOF, if we should buffer
// the input.
if (
(CommandlineInterface::Get().HasParam("--puffer-input")) &&
(CommandlineInterface::Get().HasParam("--buffer-input")) &&
(!reachedEof)
) {
return false;
}
// If we're not puffering, just return whether or not
// If we're not buffering, just return whether or not
// we have any blocks...
return blocks.size() > 0;
}