Skip to content

Commit

Permalink
Changes based on PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
amsanghi committed May 30, 2023
1 parent f57855c commit 1d3a93c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions system_tests/estimation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ func TestDifficultyForLatestArbOS(t *testing.T) {

difficulty, err := simple.GetBlockDifficulty(&bind.CallOpts{})
Require(t, err)
if difficulty.Uint64() != 1 {
if arbmath.BigEquals(difficulty, common.Big1) {
Fail(t, "Expected difficulty to be 1 by got:", difficulty)
}
}
Expand All @@ -162,7 +162,7 @@ func TestDifficultyForArbOSTen(t *testing.T) {

difficulty, err := simple.GetBlockDifficulty(&bind.CallOpts{})
Require(t, err)
if difficulty.Uint64() != 1 {
if arbmath.BigEquals(difficulty, common.Big1) {
Fail(t, "Expected difficulty to be 1 by got:", difficulty)
}
}
Expand Down

0 comments on commit 1d3a93c

Please sign in to comment.