Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
amsanghi committed Jun 21, 2023
1 parent b517b8e commit 37ff4e7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions system_tests/estimation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,8 @@ func TestDifficultyForLatestArbOS(t *testing.T) {

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

Expand All @@ -164,8 +164,8 @@ func TestDifficultyForArbOSTen(t *testing.T) {

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

Expand Down

0 comments on commit 37ff4e7

Please sign in to comment.