From bc315ffdc0095095aaf3326505f7f2e0b3c7e1e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A9ter=20Szil=C3=A1gyi?= Date: Wed, 16 Oct 2024 09:41:01 +0300 Subject: [PATCH] core: minor unused stuf cleanup --- core/blockchain.go | 1 - core/events.go | 3 --- 2 files changed, 4 deletions(-) diff --git a/core/blockchain.go b/core/blockchain.go index 22bee97ec7..d580d708d9 100644 --- a/core/blockchain.go +++ b/core/blockchain.go @@ -224,7 +224,6 @@ type BlockChain struct { hc *HeaderChain rmLogsFeed event.Feed chainFeed event.Feed - chainSideFeed event.Feed chainHeadFeed event.Feed logsFeed event.Feed blockProcFeed event.Feed diff --git a/core/events.go b/core/events.go index d81f551b42..5ad2cb1f7b 100644 --- a/core/events.go +++ b/core/events.go @@ -23,9 +23,6 @@ import ( // NewTxsEvent is posted when a batch of transactions enter the transaction pool. type NewTxsEvent struct{ Txs []*types.Transaction } -// NewMinedBlockEvent is posted when a block has been imported. -type NewMinedBlockEvent struct{ Block *types.Block } - // RemovedLogsEvent is posted when a reorg happens type RemovedLogsEvent struct{ Logs []*types.Log }