mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 02:42:27 +00:00
eth/catalyst: fix api
This commit is contained in:
parent
f27bd687b9
commit
e0e3d87df2
1 changed files with 6 additions and 5 deletions
|
|
@ -159,6 +159,7 @@ func newConsensusAPIWithoutHeartbeat(eth *eth.Ethereum) *ConsensusAPI {
|
|||
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue