Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Commit

Permalink
Update pallets/author-inherent/src/lib.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
4meta5 authored Apr 5, 2022
1 parent a50facc commit ca9bc6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pallets/author-inherent/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ pub mod pallet {
ensure_none(origin)?;

// First check that the slot number is valid (greater than the previous highest)
let slot= T::SlotBeacon::slot();
let slot = T::SlotBeacon::slot();
assert!(
slot > HighestSlotSeen::<T>::get(),
"Block invalid; Supplied slot number is not high enough"
Expand Down

0 comments on commit ca9bc6b

Please sign in to comment.