From ec02e77fb1e82e2ed1ca23368af0c9099504a203 Mon Sep 17 00:00:00 2001 From: Tuan Tran Date: Mon, 24 Jun 2024 09:16:31 +0700 Subject: [PATCH] refactor --- block/manager_test.go | 1 - node/full_node_integration_test.go | 1 - 2 files changed, 2 deletions(-) diff --git a/block/manager_test.go b/block/manager_test.go index e3adabecd..c789e0d28 100644 --- a/block/manager_test.go +++ b/block/manager_test.go @@ -93,7 +93,6 @@ func TestInitialStateStored(t *testing.T) { s, err := getInitialState(store, genesis) require.NoError(err) require.Equal(s.LastBlockHeight, uint64(100)) - require.NoError(err) require.Equal(s.InitialHeight, uint64(1)) } diff --git a/node/full_node_integration_test.go b/node/full_node_integration_test.go index a28f7b8a4..84e8321cd 100644 --- a/node/full_node_integration_test.go +++ b/node/full_node_integration_test.go @@ -195,7 +195,6 @@ func TestLazyAggregator(t *testing.T) { }, key, signingKey, proxy.NewLocalClientCreator(app), genesisDoc, DefaultMetricsProvider(cmconfig.DefaultInstrumentationConfig()), log.TestingLogger()) require.NoError(err) assert.False(node.IsRunning()) - assert.NoError(err) startNodeWithCleanup(t, node) require.NoError(waitForFirstBlock(node.(*FullNode), Header))