Skip to content

Commit 4c36724

Browse files
bench: Use toJSON
1 parent 5137886 commit 4c36724

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hydra-cluster/bench/Bench/EndToEnd.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ newTx registry client tx = do
329329
, invalidAt = Nothing
330330
, confirmedAt = Nothing
331331
}
332-
send client $ input "NewTx" ["transaction" .= serialiseToTextEnvelope Nothing tx]
332+
send client $ input "NewTx" ["transaction" .= toJSON tx]
333333

334334
data WaitResult
335335
= TxInvalid {transactionId :: TxId, reason :: Text}

0 commit comments

Comments
 (0)