mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-15 16:33:47 +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 {
|
if cacheConfig == nil {
|
||||||
cacheConfig = DefaultCacheConfig
|
cacheConfig = DefaultCacheConfig
|
||||||
}
|
}
|
||||||
|
|
||||||
if cacheConfig.TriesInMemory <= 0 {
|
if cacheConfig.TriesInMemory <= 0 {
|
||||||
cacheConfig.TriesInMemory = 128
|
cacheConfig.TriesInMemory = 128
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue