Skip to content

Commit 6218e2d

Browse files
authored
🔊 log not-empty blocks (#724)
1 parent 8a60754 commit 6218e2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/data_availability.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ impl DataAvailability {
342342
}
343343
trace!("Block {} {}: {:#?}", block.height(), block.hash(), block);
344344

345-
if block.height().0 % 10 == 0 {
345+
if block.height().0 % 10 == 0 || !block.txs().is_empty() {
346346
info!(
347347
"new block {} {} with {} txs",
348348
block.height(),

0 commit comments

Comments
 (0)