Skip to content

Commit

Permalink
Fix OB initial sync
Browse files Browse the repository at this point in the history
  • Loading branch information
Gauthamastro committed Jul 9, 2024
1 parent c383986 commit 9fd5cab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pallets/ocex/src/validator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -668,6 +668,7 @@ impl<T: Config> Pallet<T> {
Ok(verified_egress_messages)
}

#[allow(dead_code)]
/// Reset the offchain state's LMP index and set the epoch
fn start_new_lmp_epoch(state: &mut OffchainState, epoch: u16) -> Result<(), &'static str> {
let mut config = if epoch > 1 {
Expand Down

0 comments on commit 9fd5cab

Please sign in to comment.