diff --git a/blockstore/badger/blockstore.go b/blockstore/badger/blockstore.go index 1979ddebe..50a092d12 100644 --- a/blockstore/badger/blockstore.go +++ b/blockstore/badger/blockstore.go @@ -96,7 +96,7 @@ type Blockstore struct { state int viewers sync.WaitGroup - moveMx sync.RWMutex + moveMx sync.Mutex moveCond sync.Cond moveState int rlock int