Prevent infinite loops

This commit is contained in:
Paul Hauner
2021-09-28 17:18:12 +10:00
parent c0692447ed
commit 9678f77bb5
2 changed files with 11 additions and 1 deletions

View File

@@ -22,6 +22,7 @@ pub enum Error {
IsSyncing,
ExecutionBlockNotFound(Hash256),
ExecutionHeadBlockNotFound,
ParentHashEqualsBlockHash(Hash256),
}
impl From<reqwest::Error> for Error {