fix lint issue

This commit is contained in:
vyzo 2021-06-17 12:35:56 +03:00
parent bb17608ae0
commit 66f1630f14

View File

@ -522,7 +522,7 @@ func (s *SplitStore) background() {
func (s *SplitStore) warmup(curTs *types.TipSet) error { func (s *SplitStore) warmup(curTs *types.TipSet) error {
err := s.loadGenesisState() err := s.loadGenesisState()
if err != nil { if err != nil {
return xerrors.Errorf("error loading genesis state: %w") return xerrors.Errorf("error loading genesis state: %w", err)
} }
if !atomic.CompareAndSwapInt32(&s.compacting, 0, 1) { if !atomic.CompareAndSwapInt32(&s.compacting, 0, 1) {