From 816fe8f402f97d6975706ddf766391d0aac14961 Mon Sep 17 00:00:00 2001 From: Makis Christou Date: Wed, 20 Dec 2023 09:22:51 +0200 Subject: [PATCH] Update consensus/consensus_test.go Co-authored-by: libotony --- consensus/consensus_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/consensus/consensus_test.go b/consensus/consensus_test.go index bcbaf5f7f..0379bf3a8 100644 --- a/consensus/consensus_test.go +++ b/consensus/consensus_test.go @@ -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)) }, }, {