From 65dd2f994b0eb9aee17f66ca04e6fa284cc831f8 Mon Sep 17 00:00:00 2001 From: teor Date: Mon, 6 Feb 2023 10:15:02 +1000 Subject: [PATCH] Fix typo --- zebra-rpc/src/methods/get_block_template_rpcs.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zebra-rpc/src/methods/get_block_template_rpcs.rs b/zebra-rpc/src/methods/get_block_template_rpcs.rs index a0943cadec8..5e73e9795aa 100644 --- a/zebra-rpc/src/methods/get_block_template_rpcs.rs +++ b/zebra-rpc/src/methods/get_block_template_rpcs.rs @@ -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;