Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
parity
Mirrored projects
polkadot
Commits
ebdbafa5
Commit
ebdbafa5
authored
Aug 31, 2021
by
Bernhard Schuster
Browse files
Revert "it's all u32"
This reverts commit
6b3ae25b
.
parent
8d4a792e
Changes
1
Hide whitespace changes
Inline
Side-by-side
node/service/src/relay_chain_selection.rs
View file @
ebdbafa5
...
...
@@ -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
u
32
)
!=
(
subchain_number
+
1
)
.checked_sub
(
target_number
)
if
Some
(
subchain_block_descriptions
.len
()
as
u
64
)
!=
(
subchain_number
+
1
_u64
)
.checked_sub
(
target_number
)
{
tracing
::
error!
(
LOG_TARGET
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment