Skip to content

Commit

Permalink
Check challenging block fields excistence
Browse files Browse the repository at this point in the history
  • Loading branch information
xrtm000 committed Dec 14, 2023
1 parent 20a0c67 commit 91e0ce6
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@ class LightNodeBlockFieldsTest extends PropSpec with WithDomain {
val challengingBlock2 = d.createChallengingBlock(secondSigner, invalidBlock, strictTime = true)
d.testTime.setTime(challengingBlock2.header.timestamp)
append(challengingBlock2) shouldBe a[Right[?, ?]]
challengingBlock2.header.challengedHeader shouldBe defined
challengingBlock2.header.stateHash shouldBe defined
}
}
}
Expand Down

0 comments on commit 91e0ce6

Please sign in to comment.