Skip to content

Commit

Permalink
Print payload size
Browse files Browse the repository at this point in the history
  • Loading branch information
adzialocha committed Dec 11, 2024
1 parent 280e698 commit 050a028
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/network.rs
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,10 @@ pub fn run() -> Result<(
.await?;

println!(
"created operation seq_num={}, prune_flag={}",
header.seq_num, prune_flag
"created operation seq_num={}, prune_flag={}, payload_size={}",
header.seq_num,
prune_flag,
bytes.len(),
);

let encoded_gossip_operation = encode_gossip_operation(header, body)?;
Expand Down

0 comments on commit 050a028

Please sign in to comment.