use config value for triesInMemory instead of default

This commit is contained in:
Arpit Temani 2023-12-27 16:35:04 +05:30
parent 2ee39192bd
commit e5fc28d6ca

View file

@ -229,6 +229,7 @@ func New(stack *node.Node, config *ethconfig.Config) (*Ethereum, error) {
TrieTimeLimit: config.TrieTimeout,
SnapshotLimit: config.SnapshotCache,
Preimages: config.Preimages,
TriesInMemory: config.TriesInMemory,
}
)