mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-09 20:11:09 +00:00
Fast/warp sync fixes (#10562)
* Fast sync fixes * Fix gap blocks validation * Updated test * Formatting * Networking test
This commit is contained in:
@@ -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