Skip to content

Commit

Permalink
Fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Rigidity committed Jan 13, 2025
1 parent 886a289 commit d15d414
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/chia-sdk-test/src/peer_simulator/ws_connection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ fn request_puzzle_state(
};

if let Some(next_height) = next_height {
while coin_states.last().map_or(false, |cs| {
while coin_states.last().is_some_and(|cs| {
u32::max(cs.created_height.unwrap_or(0), cs.spent_height.unwrap_or(0)) == next_height
}) {
coin_states.pop();
Expand Down

0 comments on commit d15d414

Please sign in to comment.