Skip to content

Commit 0589d7a

Browse files
committed
x
1 parent fdc1d87 commit 0589d7a

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

blockchain/blockdao_test.go

+4-7
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,13 @@ import (
1818
"testing"
1919
"time"
2020

21-
"github.com/iotexproject/iotex-core/pkg/util/fileutil"
22-
23-
"github.com/iotexproject/iotex-core/pkg/unit"
24-
25-
"github.com/iotexproject/iotex-core/test/identityset"
26-
2721
"github.com/pkg/errors"
2822
"github.com/stretchr/testify/assert"
2923
"github.com/stretchr/testify/require"
3024

25+
"github.com/iotexproject/iotex-core/pkg/util/fileutil"
26+
"github.com/iotexproject/iotex-core/pkg/unit"
27+
"github.com/iotexproject/iotex-core/test/identityset"
3128
"github.com/iotexproject/iotex-core/action"
3229
"github.com/iotexproject/iotex-core/blockchain/block"
3330
"github.com/iotexproject/iotex-core/blockchain/genesis"
@@ -150,7 +147,7 @@ func TestBlockDAO(t *testing.T) {
150147

151148
testBlockDao := func(kvstore db.KVStore, t *testing.T) {
152149
ctx := context.Background()
153-
dao := newBlockDAO(kvstore, config.Default.Explorer.Enabled, false, 0)
150+
dao := newBlockDAO(kvstore, false, false, 0)
154151
err := dao.Start(ctx)
155152
assert.Nil(t, err)
156153
defer func() {

0 commit comments

Comments
 (0)