Skip to content

Commit

Permalink
feature: validation of block with disallowed slot assignment returns …
Browse files Browse the repository at this point in the history
…error

Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com>
  • Loading branch information
xDimon committed Oct 20, 2022
1 parent 47399fe commit bec874a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/consensus/validation/babe_block_validator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ namespace kagome::consensus {
}(),
to_string(slot_type),
to_string(babe_config.allowed_slots));
return ValidationError::SECONDARY_SLOT_ASSIGNMENTS_DISABLED;
}
}

Expand Down

0 comments on commit bec874a

Please sign in to comment.