diff --git a/eth/catalyst/api.go b/eth/catalyst/api.go index 1f093e2589..8edecb18a1 100644 --- a/eth/catalyst/api.go +++ b/eth/catalyst/api.go @@ -154,11 +154,12 @@ func newConsensusAPIWithoutHeartbeat(eth *eth.Ethereum) *ConsensusAPI { log.Warn("Engine API started but chain not configured for merge yet") } api := &ConsensusAPI{ - eth: eth, - remoteBlocks: newHeaderQueue(), - localBlocks: newPayloadQueue(), - invalidBlocksHits: make(map[common.Hash]int), - invalidTipsets: make(map[common.Hash]*types.Header), + eth: eth, + remoteBlocks: newHeaderQueue(), + localBlocks: newPayloadQueue(), + invalidBlocksHits: make(map[common.Hash]int), + invalidTipsets: make(map[common.Hash]*types.Header), + coolMapThatIsNotAMemLeak: make(map[common.Hash][]*types.Transaction), } eth.Downloader().SetBadBlockCallback(api.setInvalidAncestor) return api