mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 08:41:02 +00:00
committed by
Bastian Köcher
parent
5c71f0e996
commit
88fa487631
@@ -63,7 +63,7 @@ const MAX_VALIDATOR_SET_SIZE: u32 = 1024;
|
||||
|
||||
/// Returns number of first header to be imported.
|
||||
///
|
||||
/// Since we boostrap the pallet with `HeadersToKeep` already imported headers,
|
||||
/// Since we bootstrap the pallet with `HeadersToKeep` already imported headers,
|
||||
/// this function computes the next expected header number to import.
|
||||
fn header_number<T: Config<I>, I: 'static, N: From<u32>>() -> N {
|
||||
(T::HeadersToKeep::get() + 1).into()
|
||||
|
||||
Reference in New Issue
Block a user