mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-26 21:49:49 +00:00
Fast/warp sync fixes (#10562)
* Fast sync fixes * Fix gap blocks validation * Updated test * Formatting * Networking test
This commit is contained in:
1 parent
3a88215fca
commit
4d477ea9b4
7 files changed
+126
-32
No files matched your search
@@ -1726,9 +1726,8 @@ where
|
||||
.block_status(&BlockId::Hash(hash))
|
||||
.map_err(|e| ConsensusError::ClientImport(e.to_string()))?
|
||||
{
|
||||
BlockStatus::InChainWithState | BlockStatus::Queued if !import_existing =>
|
||||
BlockStatus::InChainWithState | BlockStatus::Queued =>
|
||||
return Ok(ImportResult::AlreadyInChain),
|
||||
BlockStatus::InChainWithState | BlockStatus::Queued => {},
|
||||
BlockStatus::InChainPruned if !import_existing =>
|
||||
return Ok(ImportResult::AlreadyInChain),
|
||||
BlockStatus::InChainPruned => {},
|
||||
|
||||
Reference in new issue
Block a user