We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6507351 commit 9500456Copy full SHA for 9500456
hydra-node/src/Hydra/API/WSServer.hs
@@ -178,8 +178,8 @@ wsApp env party tracer chain history callback nodeStateP networkInfoP responseCh
178
traceWith tracer (APIInputReceived $ toJSON input)
179
case input of
180
SafeClose -> do
181
- NodeState{headState} <- atomically getLatestNodeState
182
- case HeadState.getOpenStateConfirmedSnapshot headState of
+ nodeState <- atomically getLatestNodeState
+ case HeadState.getOpenStateConfirmedSnapshot nodeState.headState of
183
Nothing -> callback input
184
Just confirmedSnapshot ->
185
case checkNonADAAssets confirmedSnapshot of
0 commit comments