fix: set ethapi in handler

This commit is contained in:
anshalshukla 2024-09-04 16:29:00 +05:30
parent 9513da48e2
commit a159bf7597
No known key found for this signature in database
GPG key ID: 84BE5474523D8CBC

View file

@ -307,6 +307,7 @@ func New(stack *node.Node, config *ethconfig.Config) (*Ethereum, error) {
BloomCache: uint64(cacheLimit),
EventMux: eth.eventMux,
RequiredBlocks: config.RequiredBlocks,
EthAPI: blockChainAPI,
checker: checker,
enableBlockTracking: eth.config.EnableBlockTracking,
}); err != nil {