mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-25 03:49:56 +00:00
Unify SyncMode data structures under one (#14465)
This commit is contained in:
1 parent
f1c16d05e7
commit
ff7e8b6b17
10 files changed
+50
-152
No files matched your search
@@ -234,7 +234,7 @@ impl Configuration {
|
||||
/// Returns true if the genesis state writting will be skipped while initializing the genesis
|
||||
/// block.
|
||||
pub fn no_genesis(&self) -> bool {
|
||||
matches!(self.network.sync_mode, SyncMode::Fast { .. } | SyncMode::Warp { .. })
|
||||
matches!(self.network.sync_mode, SyncMode::LightState { .. } | SyncMode::Warp { .. })
|
||||
}
|
||||
|
||||
/// Returns the database config for creating the backend.
|
||||
|
||||
Reference in new issue
Block a user