From 84a4ed2df7b3f6f2c0fb2062cbde681580dded5a Mon Sep 17 00:00:00 2001 From: Aurora Gaffney Date: Fri, 15 Nov 2024 15:05:54 -0600 Subject: [PATCH] chore: remove unused struct field --- node.go | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/node.go b/node.go index 5a3df22f..f4bd7316 100644 --- a/node.go +++ b/node.go @@ -20,7 +20,6 @@ import ( "fmt" "sync" - ocommon "github.com/blinklabs-io/gouroboros/protocol/common" "github.com/blinklabs-io/node/chainsync" "github.com/blinklabs-io/node/connmanager" "github.com/blinklabs-io/node/event" @@ -31,16 +30,15 @@ import ( ) type Node struct { - config Config - connManager *connmanager.ConnectionManager - chainsyncState *chainsync.State - chainsyncBulkRangeEnd ocommon.Point - eventBus *event.EventBus - outboundConns map[ouroboros.ConnectionId]outboundPeer - outboundConnsMutex sync.Mutex - mempool *mempool.Mempool - ledgerState *state.LedgerState - shutdownFuncs []func(context.Context) error + config Config + connManager *connmanager.ConnectionManager + chainsyncState *chainsync.State + eventBus *event.EventBus + outboundConns map[ouroboros.ConnectionId]outboundPeer + outboundConnsMutex sync.Mutex + mempool *mempool.Mempool + ledgerState *state.LedgerState + shutdownFuncs []func(context.Context) error } func New(cfg Config) (*Node, error) {