Skip to content

Commit 77eaeb0

Browse files
committed
Fix block size display when verbosity=4
1 parent a440ce5 commit 77eaeb0

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/app/InfoPrinter.cpp

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,7 @@ void InfoPrinter::processEvent(const Event& evt)
5656
BlockInfo* bi = new BlockInfo();
5757
_clock12.start();
5858

59-
if (_type == InfoPrinter::ENCODING)
60-
bi->_stage0Size = evt.getSize();
61-
59+
bi->_stage0Size = evt.getSize();
6260
_map[hash(currentBlockId)] = bi;
6361

6462
if (_level >= 5) {
@@ -71,9 +69,6 @@ void InfoPrinter::processEvent(const Event& evt)
7169
if (bi == nullptr)
7270
return;
7371

74-
if (_type == InfoPrinter::DECODING)
75-
bi->_stage0Size = evt.getSize();
76-
7772
_clock12.stop();
7873
_clock23.start();
7974

0 commit comments

Comments
 (0)