From 2f946a029b8be8ab76c8906dd3eb3527c051b3e7 Mon Sep 17 00:00:00 2001 From: tamirms Date: Mon, 5 Aug 2024 18:24:26 +0100 Subject: [PATCH] fix test --- services/horizon/internal/actions/helpers_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/horizon/internal/actions/helpers_test.go b/services/horizon/internal/actions/helpers_test.go index 56ec7ec239..70fe3e03ce 100644 --- a/services/horizon/internal/actions/helpers_test.go +++ b/services/horizon/internal/actions/helpers_test.go @@ -336,7 +336,7 @@ func TestGetPageQueryCursorDefaultTOID(t *testing.T) { pq, err = GetPageQuery(ledgerState, ascReq, DefaultTOID) assert.NoError(t, err) - assert.Equal(t, toid.AfterLedger(1).String(), pq.Cursor) + assert.Equal(t, toid.AfterLedger(0).String(), pq.Cursor) assert.Equal(t, uint64(2), pq.Limit) assert.Equal(t, "asc", pq.Order)