Skip to content

Commit

Permalink
fix lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
yutianwu committed Aug 1, 2024
1 parent 26d8c61 commit 5e4a5f9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/bsc/consensus/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,8 @@ impl Parlia {
// Exclude the recently signed validators and inturn validator
validators.retain(|addr| {
!snap.sign_recently_by_counts(*addr, &counts) ||
!(self.chain_spec.is_bohr_active_at_timestamp(header.timestamp) && *addr == inturn_addr)
!(self.chain_spec.is_bohr_active_at_timestamp(header.timestamp) &&
*addr == inturn_addr)
});
}

Expand Down

0 comments on commit 5e4a5f9

Please sign in to comment.