Skip to content

Commit

Permalink
Fix how the model snapshot is interpreted into a confirmed in case of…
Browse files Browse the repository at this point in the history
… the initial
  • Loading branch information
ffakenz committed May 24, 2024
1 parent cd29234 commit 45cc7e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hydra-node/test/Hydra/Chain/Direct/TxTraceSpec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ confirmedSnapshot modelSnapshot@ModelSnapshot{snapshotNumber} =
{ -- -- NOTE: The close validator would not check headId on close with
-- initial snapshot, but we need to provide it still.
headId = mkHeadId Fixture.testPolicyId
, initialUTxO = fst $ generateUTxOFromModelSnapshot (ModelSnapshot 0 (fromList [A]) (fromList []))
, initialUTxO = fst $ generateUTxOFromModelSnapshot modelSnapshot
}
_ -> ConfirmedSnapshot{snapshot, signatures}
where
Expand Down

0 comments on commit 45cc7e4

Please sign in to comment.