mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-01 17:43:45 +00:00
add : lint
This commit is contained in:
parent
ec57aabf9e
commit
b2c125f81e
1 changed files with 1 additions and 0 deletions
|
|
@ -230,6 +230,7 @@ func NewBlockChain(db ethdb.Database, cacheConfig *CacheConfig, chainConfig *par
|
|||
if cacheConfig == nil {
|
||||
cacheConfig = DefaultCacheConfig
|
||||
}
|
||||
|
||||
if cacheConfig.TriesInMemory <= 0 {
|
||||
cacheConfig.TriesInMemory = 128
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue