Skip to content

Commit df6879c

Browse files
committed
correct code comment
1 parent 71d47f1 commit df6879c

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/Ledger/Dijkstra/Specification/Transaction.lagda.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -471,11 +471,8 @@ remaining helper functions of this section.
471471
-- Phase-1 condition (CIP-0118):
472472
-- every credential required by a subTx body must appear in the top-level txGuards set.
473473
requiredTopLevelGuardsSatisfied : TopLevelTx → List SubLevelTx → Type
474-
requiredTopLevelGuardsSatisfied topTx subTxs = requiredCreds ⊆ topGuards
474+
requiredTopLevelGuardsSatisfied topTx subTxs = requiredCreds ⊆ TxBody.txGuards (TxBodyOf topTx)
475475
where
476-
topGuards : ℙ Credential
477-
topGuards = TxBody.txGuards (TxBodyOf topTx)
478-
479476
concatMapˡ : {A B : Type} → (A → ℙ B) → List A → ℙ B
480477
concatMapˡ f as = proj₁ $ unions (fromList (map f as))
481478
-- (maybe move concatMapˡ to src-lib-exts or agda-sets)

0 commit comments

Comments
 (0)