mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-18 03:41:02 +00:00
Stop keeping track of epoch changes for the sync gap (#13127)
* Stop keeping track of epoch changes data within the sync gap * Fix docs * Apply suggestions from code review Co-authored-by: Bastian Köcher <git@kchr.de> * Fix typo Co-authored-by: Bastian Köcher <git@kchr.de>
This commit is contained in:
@@ -64,7 +64,7 @@ where
|
||||
header
|
||||
});
|
||||
|
||||
EpochChanges { inner, epochs, gap: None }
|
||||
EpochChanges { inner, epochs }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -75,6 +75,6 @@ where
|
||||
{
|
||||
/// Migrate the type into current epoch changes definition.
|
||||
pub fn migrate(self) -> EpochChanges<Hash, Number, E> {
|
||||
EpochChanges { inner: self.inner, epochs: self.epochs, gap: None }
|
||||
EpochChanges { inner: self.inner, epochs: self.epochs }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user