Skip to content

Commit

Permalink
Remove unused function identifyNode
Browse files Browse the repository at this point in the history
  • Loading branch information
locallycompact committed Dec 9, 2024
1 parent 4f26fbf commit 75c1e76
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions hydra-node/src/Hydra/Node/Run.hs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import Hydra.Chain.Direct.State (initialChainState)
import Hydra.Chain.Offline (loadGenesisFile, withOfflineChain)
import Hydra.Events.FileBased (eventPairFromPersistenceIncremental)
import Hydra.Ledger.Cardano (cardanoLedger, newLedgerEnv)
import Hydra.Logging (Verbosity (..), traceWith, withTracer)
import Hydra.Logging (traceWith, withTracer)
import Hydra.Logging.Messages (HydraLog (..))
import Hydra.Logging.Monitoring (withMonitoring)
import Hydra.Node (
Expand Down Expand Up @@ -182,7 +182,3 @@ newGlobals genesisParameters = do
-- NOTE: uses fixed epoch info for our L2 ledger
epochInfo = fixedEpochInfo protocolParamEpochLength slotLength
slotLength = mkSlotLength protocolParamSlotLength

identifyNode :: RunOptions -> RunOptions
identifyNode opt@RunOptions{verbosity = Verbose "HydraNode", nodeId} = opt{verbosity = Verbose $ "HydraNode-" <> show nodeId}
identifyNode opt = opt

0 comments on commit 75c1e76

Please sign in to comment.