Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
yzang2019 committed Jun 25, 2024
1 parent a3be48c commit 9959509
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ss/pebbledb/db.go
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,10 @@ func (db *Database) writeAsyncInBackground() {
panic(err)
}
}
db.SetLatestVersion(version)
err := db.SetLatestVersion(version)
if err != nil {
panic(err)
}
}
}

Expand Down
1 change: 1 addition & 0 deletions tools/cmd/seidb/operations/prune.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package operations

import (
"fmt"

"github.com/sei-protocol/sei-db/common/logger"

"github.com/sei-protocol/sei-db/config"
Expand Down

0 comments on commit 9959509

Please sign in to comment.