Skip to content

Commit

Permalink
clean up logging
Browse files Browse the repository at this point in the history
  • Loading branch information
brentstone authored and Fraccaman committed Jun 5, 2023
1 parent ac04120 commit 6390e2a
Show file tree
Hide file tree
Showing 3 changed files with 95 additions and 86 deletions.
2 changes: 1 addition & 1 deletion apps/src/lib/node/ledger/shell/finalize_block.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2794,7 +2794,7 @@ mod test_finalize_block {

let del_details = details.get(&del_id).unwrap();
let self_details = details.get(&self_id).unwrap();
dbg!(del_details, self_details);
// dbg!(del_details, self_details);

// Check slashes
assert_eq!(del_details.slashes, self_details.slashes);
Expand Down
1 change: 0 additions & 1 deletion apps/src/lib/node/ledger/shell/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,6 @@ where
/// Apply PoS slashes from the evidence
fn record_slashes_from_evidence(&mut self) {
if !self.byzantine_validators.is_empty() {
println!("BYZANTINE VALIDATORS NOT EMPTY");
let byzantine_validators =
mem::take(&mut self.byzantine_validators);
// TODO: resolve this unwrap() better
Expand Down
Loading

0 comments on commit 6390e2a

Please sign in to comment.