Skip to content

Commit

Permalink
Update daml-lf/archive/src/main/scala/com/digitalasset/daml/lf/archiv…
Browse files Browse the repository at this point in the history
…e/DecodeV1.scala

Co-authored-by: Remy <remy.haemmerle@daml.com>
  • Loading branch information
Robin Krom and remyhaemmerle-da authored Oct 28, 2021
1 parent 669a318 commit 5522716
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -677,8 +677,7 @@ private[archive] class DecodeV1(minor: LV.Minor) {
methods = lfInterface.getMethodsList.asScala.view
.map(decodeInterfaceMethod)
.map(method => method.name -> method),
precond =
if (lfInterface.hasPrecond) decodeExpr(lfInterface.getPrecond, s"$id:ensure") else ETrue,
precond = decodeExpr(lfInterface.getPrecond, s"$id:ensure")
)

private[this] def decodeInterfaceChoice(
Expand Down

0 comments on commit 5522716

Please sign in to comment.