From abb7c947ba76d6c8c4accae1b65b22ea68646923 Mon Sep 17 00:00:00 2001 From: antonis19 Date: Fri, 28 Mar 2025 13:02:17 +0100 Subject: [PATCH] update comments --- eth/protocols/eth/handler_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eth/protocols/eth/handler_test.go b/eth/protocols/eth/handler_test.go index 3ae22352a8..bbbd888701 100644 --- a/eth/protocols/eth/handler_test.go +++ b/eth/protocols/eth/handler_test.go @@ -304,7 +304,7 @@ func testGetBlockHeaders(t *testing.T, protocol uint) { backend.chain.GetBlockByNumber(1).Hash(), }, }, - // Check a corner case where skipping causes overflow with reverse=false + // Check a corner case where skipping causes overflow with reverse=true { &GetBlockHeadersRequest{Origin: HashOrNumber{Number: 1}, Amount: 2, Reverse: true, Skip: math.MaxUint64 - 1}, []common.Hash{ @@ -318,7 +318,7 @@ func testGetBlockHeaders(t *testing.T, protocol uint) { backend.chain.GetBlockByNumber(1).Hash(), }, }, - // Check another corner case where skipping causes overflow with reverse=false + // Check another corner case where skipping causes overflow with reverse=true { &GetBlockHeadersRequest{Origin: HashOrNumber{Number: 1}, Amount: 2, Reverse: true, Skip: math.MaxUint64}, []common.Hash{