We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e87fc3 commit 3fc9a98Copy full SHA for 3fc9a98
src/main/scala/io/iohk/ethereum/domain/branch/BestBlockchainBranch.scala
@@ -17,12 +17,9 @@ class BestBlockchainBranch(
17
) extends BlockchainBranch {
18
19
/* The following assumptions are made in this class :
20
- * - the whole branch exist in storage
+ * - The whole branch exist in storage
21
* - The various metadata and index are consistent
22
- *
23
- * If those assumptions are found to be false, then the application is in an inconsistent
24
- * state and the class will throw.
25
- * */
+ */
26
27
override def getBlockByNumber(number: BigInt): Option[Block] =
28
if (tipBlockHeader.number >= number && number >= 0) {
0 commit comments