Skip to content

Commit

Permalink
This is not a generally available stuff
Browse files Browse the repository at this point in the history
No need to call this "healthy" as it cannot be used outside of the healthyCloseInitialTx context.
  • Loading branch information
pgrange committed Jan 31, 2023
1 parent f2aade0 commit 9094f20
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions hydra-node/test/Hydra/Chain/Direct/Contract/Close.hs
Expand Up @@ -43,7 +43,7 @@ healthyCloseTx =
tx =
closeTx
somePartyCardanoVerificationKey
healthyClosingSnapshot
closingSnapshot
healthyCloseLowerBoundSlot
healthyCloseUpperBoundPointInTime
openThreadOutput
Expand All @@ -59,8 +59,8 @@ healthyCloseTx =
, openParties = healthyOnChainParties
, openContestationPeriod = healthyContestationPeriod
}
healthyClosingSnapshot :: ClosingSnapshot
healthyClosingSnapshot =
closingSnapshot :: ClosingSnapshot
closingSnapshot =
CloseWithConfirmedSnapshot
{ snapshotNumber = healthySnapshotNumber
, closeUtxoHash = UTxOHash $ hashUTxO @Tx healthyCloseUTxO
Expand All @@ -74,7 +74,7 @@ healthyCloseInitialTx =
tx =
closeTx
somePartyCardanoVerificationKey
healthyClosingSnapshot
closingSnapshot
healthyCloseLowerBoundSlot
healthyCloseUpperBoundPointInTime
openThreadOutput
Expand All @@ -90,8 +90,8 @@ healthyCloseInitialTx =
, openParties = healthyOnChainParties
, openContestationPeriod = healthyContestationPeriod
}
healthyClosingSnapshot :: ClosingSnapshot
healthyClosingSnapshot =
closingSnapshot :: ClosingSnapshot
closingSnapshot =
CloseWithInitialSnapshot
{ openUtxoHash = UTxOHash $ hashUTxO @Tx healthyUTxO
}
Expand Down

0 comments on commit 9094f20

Please sign in to comment.