Skip to content

Commit c7374c5

Browse files
committed
Minor logging improvement
1 parent 7cb1ae9 commit c7374c5

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

consensus/src/pos/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -230,9 +230,9 @@ pub fn stake(
230230
let first_timestamp = *block_timestamp;
231231

232232
log::debug!(
233-
"Search for a valid block ({}..{}), pool_id: {}",
234-
first_timestamp,
235-
max_block_timestamp,
233+
"Search for a valid block, start: {}, slots count: {}, pool_id: {}",
234+
first_timestamp.into_time(),
235+
max_block_timestamp.as_int_seconds() - first_timestamp.as_int_seconds() + 1,
236236
Address::new(chain_config, *pos_data.stake_pool_id())
237237
.expect("Pool id to address cannot fail")
238238
);

0 commit comments

Comments
 (0)