Skip to content

Commit

Permalink
Remove unused function isPendingCommitFrom
Browse files Browse the repository at this point in the history
  • Loading branch information
locallycompact committed Dec 8, 2024
1 parent 9b208fd commit a32e06e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions hydra-node/test/Hydra/Model.hs
Original file line number Diff line number Diff line change
Expand Up @@ -127,11 +127,6 @@ data GlobalState
| Final {finalUTxO :: UTxOType Payment}
deriving stock (Eq, Show)

isPendingCommitFrom :: Party -> GlobalState -> Bool
isPendingCommitFrom party Initial{pendingCommits} =
party `Map.member` pendingCommits
isPendingCommitFrom _ _ = False

type Uncommitted = Map.Map Party (UTxOType Payment)

newtype OffChainState = OffChainState {confirmedUTxO :: UTxOType Payment}
Expand Down

0 comments on commit a32e06e

Please sign in to comment.