Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
teor2345 authored Feb 6, 2023
1 parent ba856cd commit 65dd2f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zebra-rpc/src/methods/get_block_template_rpcs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -950,7 +950,7 @@ where
let difficulty = chain_info
.expected_difficulty
.to_work()
.expect("valid blocks have valid difficulties, work is within u218");
.expect("valid blocks have valid difficulties, work is within u128");

// Convert to u128 then f64
let pow_limit = pow_limit.as_u128() as f64;
Expand Down

0 comments on commit 65dd2f9

Please sign in to comment.