Skip to content

Commit 51c9fc0

Browse files
Remove redundant pattern match in hydra-node/src/Hydra/API/ServerOutput.hs
Co-authored-by: Sebastian Nagel <[email protected]>
1 parent 1634d5b commit 51c9fc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ prepareServerOutput ServerOutputConfig{utxoInSnapshot} response =
188188
CommandFailed{} -> encodedResponse
189189
TxValid{} ->
190190
(key "transaction" .~ toJSON tx) encodedResponse
191-
TxInvalid{Hydra.API.ServerOutput.transaction = tx} ->
191+
TxInvalid{} ->
192192
(key "transaction" .~ toJSON tx) encodedResponse
193193
SnapshotConfirmed{} ->
194194
handleUtxoInclusion (key "snapshot" . atKey "utxo" .~ Nothing) encodedResponse

0 commit comments

Comments
 (0)