Skip to content

Commit 75c1e76

Browse files
Remove unused function identifyNode
1 parent 4f26fbf commit 75c1e76

File tree

1 file changed

+1
-5
lines changed
  • hydra-node/src/Hydra/Node

1 file changed

+1
-5
lines changed

hydra-node/src/Hydra/Node/Run.hs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import Hydra.Chain.Direct.State (initialChainState)
2222
import Hydra.Chain.Offline (loadGenesisFile, withOfflineChain)
2323
import Hydra.Events.FileBased (eventPairFromPersistenceIncremental)
2424
import Hydra.Ledger.Cardano (cardanoLedger, newLedgerEnv)
25-
import Hydra.Logging (Verbosity (..), traceWith, withTracer)
25+
import Hydra.Logging (traceWith, withTracer)
2626
import Hydra.Logging.Messages (HydraLog (..))
2727
import Hydra.Logging.Monitoring (withMonitoring)
2828
import Hydra.Node (
@@ -182,7 +182,3 @@ newGlobals genesisParameters = do
182182
-- NOTE: uses fixed epoch info for our L2 ledger
183183
epochInfo = fixedEpochInfo protocolParamEpochLength slotLength
184184
slotLength = mkSlotLength protocolParamSlotLength
185-
186-
identifyNode :: RunOptions -> RunOptions
187-
identifyNode opt@RunOptions{verbosity = Verbose "HydraNode", nodeId} = opt{verbosity = Verbose $ "HydraNode-" <> show nodeId}
188-
identifyNode opt = opt

0 commit comments

Comments
 (0)