From b08e830ed3aed52a4ffb2280162b1025a5af0cfc Mon Sep 17 00:00:00 2001 From: Tei Im Date: Wed, 13 Dec 2023 22:09:05 +0900 Subject: [PATCH] Fix lint errors --- core/genesis_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/genesis_test.go b/core/genesis_test.go index 74ad6ad1f07..aa03fcfeb6a 100644 --- a/core/genesis_test.go +++ b/core/genesis_test.go @@ -33,7 +33,7 @@ func TestGenesisBlockHashes(t *testing.T) { t.Fatal(err) } defer tx.Rollback() - _, block, err := core.WriteGenesisBlock(tx, genesis, nil, nil, "", logger) + _, block, err := core.WriteGenesisBlock(tx, genesis, nil, nil, nil, "", logger) require.NoError(t, err) expect := params.GenesisHashByChainName(network) require.NotNil(t, expect, network) @@ -80,13 +80,13 @@ func TestCommitGenesisIdempotency(t *testing.T) { defer tx.Rollback() genesis := core.GenesisBlockByChainName(networkname.MainnetChainName) - _, _, err = core.WriteGenesisBlock(tx, genesis, nil, nil, "", logger) + _, _, err = core.WriteGenesisBlock(tx, genesis, nil, nil, nil, "", logger) require.NoError(t, err) seq, err := tx.ReadSequence(kv.EthTx) require.NoError(t, err) require.Equal(t, uint64(2), seq) - _, _, err = core.WriteGenesisBlock(tx, genesis, nil, nil, "", logger) + _, _, err = core.WriteGenesisBlock(tx, genesis, nil, nil, nil, "", logger) require.NoError(t, err) seq, err = tx.ReadSequence(kv.EthTx) require.NoError(t, err)