From 8393cb55bd15b426ea35109cec781b0334397b72 Mon Sep 17 00:00:00 2001 From: Artem Date: Sun, 16 Jun 2024 00:00:48 +0200 Subject: [PATCH] Fix: test --- cmd/api/handler/block_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/api/handler/block_test.go b/cmd/api/handler/block_test.go index 3c544f10..43b3e5e2 100644 --- a/cmd/api/handler/block_test.go +++ b/cmd/api/handler/block_test.go @@ -595,9 +595,9 @@ func (s *BlockTestSuite) TestBlockODS() { c.SetParamNames("height") c.SetParamValues("100") - s.blocks.EXPECT(). - ByHeightWithStats(gomock.Any(), pkgTypes.Level(100)). - Return(testBlockWithStats, nil). + s.blockStats.EXPECT(). + ByHeight(gomock.Any(), pkgTypes.Level(100)). + Return(testBlockStats, nil). Times(1) rawTxs := []string{