Skip to content

Commit 889f2c2

Browse files
committed
lint
1 parent 1cfb889 commit 889f2c2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

block/internal/syncing/syncer_test.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ import (
1414
"github.com/evstack/ev-node/pkg/signer/noop"
1515
testmocks "github.com/evstack/ev-node/test/mocks"
1616
"github.com/ipfs/go-datastore"
17-
"github.com/ipfs/go-datastore/sync"
1817
dssync "github.com/ipfs/go-datastore/sync"
1918
"github.com/libp2p/go-libp2p/core/crypto"
2019
"github.com/rs/zerolog"
@@ -73,7 +72,7 @@ func makeData(chainID string, height uint64, txs int) *types.Data {
7372
}
7473

7574
func TestProcessHeightEvent_SyncsAndUpdatesState(t *testing.T) {
76-
ds := sync.MutexWrap(datastore.NewMapDatastore())
75+
ds := dssync.MutexWrap(datastore.NewMapDatastore())
7776
st := store.New(ds)
7877
cm, err := cache.NewManager(config.DefaultConfig(), st, zerolog.Nop())
7978
require.NoError(t, err)
@@ -125,7 +124,7 @@ func TestProcessHeightEvent_SyncsAndUpdatesState(t *testing.T) {
125124
}
126125

127126
func TestSequentialBlockSync(t *testing.T) {
128-
ds := sync.MutexWrap(datastore.NewMapDatastore())
127+
ds := dssync.MutexWrap(datastore.NewMapDatastore())
129128
st := store.New(ds)
130129
cm, err := cache.NewManager(config.DefaultConfig(), st, zerolog.Nop())
131130
require.NoError(t, err)

0 commit comments

Comments
 (0)