File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
src/Ledger/Dijkstra/Specification Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff 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)
You can’t perform that action at this time.
0 commit comments