Fix multi collator setup (#133)

* Start

* Fix compilation

* Fix chainspec

* Don't set best 2 times for the same block

* Check the status of a block before building on it

* Check that the block exists before setting it as the new best

* Reorder code

* Fork choice depends on sync status

* Switch branch again
This commit is contained in:
Bastian Köcher
2020-07-02 12:50:04 +02:00
committed by GitHub
parent 30ad930159
commit 6ca066c893
8 changed files with 519 additions and 279 deletions
+1 -1
View File
@@ -202,7 +202,7 @@ where
)) as Box<_>);
}
Ok(Validation::Success { is_new_best: false })
Ok(Validation::Success { is_new_best: true })
}
}