Skip to content

Commit

Permalink
allow losing observers that are also signatories
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbrauner-da committed Nov 14, 2024
1 parent 25c6530 commit e41c1e2
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2402,7 +2402,8 @@ private[lf] object SBuiltin {

List(
check(_.signatories, "signatories"),
check(_.observers, "observers"),
// This definition of observers allows observers to lose parties that are signatories
check(c => c.stakeholders -- c.signatories, "observers"),
check(_.keyOpt.map(_.maintainers), "key maintainers"),
check(_.keyOpt.map(_.globalKey.key), "key value"),
).flatten match {
Expand Down

0 comments on commit e41c1e2

Please sign in to comment.