Skip to content

Commit

Permalink
remove ineffassign for FlagIAVLCacheSize
Browse files Browse the repository at this point in the history
  • Loading branch information
RaulBernal committed Apr 18, 2023
1 parent 0a20c39 commit 4702c9d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions cmd/bcnad/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -216,11 +216,6 @@ func (a appCreator) newApp(
cast.ToUint32(appOpts.Get(server.FlagStateSyncSnapshotKeepRecent)),
)

iavlCacheSize := int(cast.ToUint64(appOpts.Get("iavl-cache-size")))
if iavlCacheSize == 0 {
iavlCacheSize = 390_625 // 50mb
}

return app.New(
logger,
db,
Expand Down

0 comments on commit 4702c9d

Please sign in to comment.