internal/cli/server : fix : added triesInMemory in config (#691)

This commit is contained in:
SHIVAM SHARMA 2023-01-19 14:41:38 +05:30 committed by GitHub
parent 241843c7e7
commit 38145fae21
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -891,6 +891,7 @@ func (c *Config) buildEth(stack *node.Node, accountManager *accounts.Manager) (*
n.Preimages = c.Cache.Preimages
n.TxLookupLimit = c.Cache.TxLookupLimit
n.TrieTimeout = c.Cache.TrieTimeout
n.TriesInMemory = c.Cache.TriesInMemory
}
n.RPCGasCap = c.JsonRPC.GasCap