Mark contract lookups as private[lf] (#6938)

DAML Script is in lf so that is good enough and nothing else should
access this.

changelog_begin
changelog_end
This commit is contained in:
Moritz Kiefer 2020-07-30 19:28:23 +02:00 committed by GitHub
parent 13add95a5e
commit 83031f3edf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -162,7 +162,7 @@ final case class ScenarioRunner(
callback(ledger.currentTime)
}
def lookupContract(
private[lf] def lookupContract(
acoid: ContractId,
committers: Set[Party],
cbMissing: Unit => Boolean,
@ -206,7 +206,7 @@ final case class ScenarioRunner(
}
}
def lookupKey(
private[lf] def lookupKey(
gk: GlobalKey,
committers: Set[Party],
canContinue: SKeyLookupResult => Boolean,