fix lint issue
This commit is contained in:
parent
bb17608ae0
commit
66f1630f14
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user