Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
aspect authored and elichai committed Nov 5, 2023
1 parent 4e8fa5b commit 1bd3e70
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/miner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,9 @@ impl MinerManager {
if state.is_none() {
state = block_channel.wait_for_change().as_deref().cloned();
}
let Some(state_ref) = state.as_mut() else {continue;};
let Some(state_ref) = state.as_mut() else {
continue;
};
state_ref.nonce = nonce.0;

if let Some(block) = state_ref.generate_block_if_pow() {
Expand Down

0 comments on commit 1bd3e70

Please sign in to comment.