Commit ebdbafa5 authored by Bernhard Schuster's avatar Bernhard Schuster
Browse files

Revert "it's all u32"

This reverts commit 6b3ae25b.
parent 8d4a792e
......@@ -417,8 +417,8 @@ where
let (lag, subchain_head) = if cfg!(feature = "disputes") {
// Prevent sending flawed data to the dispute-coordinator.
if Some(subchain_block_descriptions.len() as u32) !=
(subchain_number + 1).checked_sub(target_number)
if Some(subchain_block_descriptions.len() as u64) !=
(subchain_number + 1_u64).checked_sub(target_number)
{
tracing::error!(
LOG_TARGET,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment