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 @@ -494,11 +494,8 @@ remaining helper functions of this section.
494494 -- Phase-1 condition (CIP-0118):
495495 -- every credential required by a subTx body must appear in the top-level txGuards set.
496496 requiredTopLevelGuardsSatisfied : TopLevelTx → List SubLevelTx → Type
497- requiredTopLevelGuardsSatisfied topTx subTxs = requiredCreds ⊆ topGuards
497+ requiredTopLevelGuardsSatisfied topTx subTxs = requiredCreds ⊆ TxBody.txGuards (TxBodyOf topTx)
498498 where
499- topGuards : ℙ Credential
500- topGuards = TxBody.txGuards (TxBodyOf topTx)
501-
502499 concatMapˡ : {A B : Type} → (A → ℙ B) → List A → ℙ B
503500 concatMapˡ f as = proj₁ $ unions (fromList (map f as))
504501 -- (maybe move concatMapˡ to src-lib-exts or agda-sets)
You can’t perform that action at this time.
0 commit comments