Skip to content

Commit

Permalink
Update cmd/cronosd/opendb/opendb_rocksdb.go
Browse files Browse the repository at this point in the history
Co-authored-by: mmsqe <tqd0800210105@gmail.com>
Signed-off-by: yihuang <huang@crypto.com>
  • Loading branch information
yihuang and mmsqe authored Mar 3, 2023
1 parent e84899d commit e38c41f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/cronosd/opendb/opendb_rocksdb.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func loadLatestOptions(dir string) (*grocksdb.Options, error) {
}

// NewRocksdbOptions build options for `application.db`,
// it overrides exisitng options if provided, otherwise create new one assuming it's a new database.
// it overrides existing options if provided, otherwise create new one assuming it's a new database.
func NewRocksdbOptions(opts *grocksdb.Options, sstFileWriter bool) *grocksdb.Options {
if opts == nil {
opts = grocksdb.NewDefaultOptions()
Expand Down

0 comments on commit e38c41f

Please sign in to comment.