Skip to content

Commit

Permalink
Update consensus/consensus_test.go
Browse files Browse the repository at this point in the history
Co-authored-by: libotony <[email protected]>
  • Loading branch information
MakisChristou and libotony authored Dec 20, 2023
1 parent 67cc23e commit 816fe8f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions consensus/consensus_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -330,8 +330,7 @@ func TestValidateBlockHeader(t *testing.T) {
err = tc.consent(blk)
expected := errFutureBlock
assert.Equal(t, expected, err)
IsFutureBlockError := IsFutureBlock(expected)
assert.True(t, IsFutureBlockError)
assert.True(t, IsFutureBlock(expected))
},
},
{
Expand Down

0 comments on commit 816fe8f

Please sign in to comment.