Skip to content

Commit 9500456

Browse files
committed
minor fix after rebase
1 parent 6507351 commit 9500456

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hydra-node/src/Hydra/API/WSServer.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,8 @@ wsApp env party tracer chain history callback nodeStateP networkInfoP responseCh
178178
traceWith tracer (APIInputReceived $ toJSON input)
179179
case input of
180180
SafeClose -> do
181-
NodeState{headState} <- atomically getLatestNodeState
182-
case HeadState.getOpenStateConfirmedSnapshot headState of
181+
nodeState <- atomically getLatestNodeState
182+
case HeadState.getOpenStateConfirmedSnapshot nodeState.headState of
183183
Nothing -> callback input
184184
Just confirmedSnapshot ->
185185
case checkNonADAAssets confirmedSnapshot of

0 commit comments

Comments
 (0)