Skip to content

Commit 64f95fe

Browse files
Fix confusing log lines around OTK key rotation (#3317)
[static] Signed-off-by: Martin Florian <martin.florian@digitalasset.com>
1 parent c57e96d commit 64f95fe

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

apps/common/src/main/scala/org/lfdecentralizedtrust/splice/setup/NodeInitializer.scala

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ class NodeInitializer(
404404
val toRotate = currentKeys.map(_.id).filterNot(allOtkSignatures.contains)
405405
if (toRotate.nonEmpty) {
406406
logger.info(
407-
s"The following keys with missing signature need to be rotated: $toRotate, this is expected for nodes that joined MainNet before version 0.3.1."
407+
s"Checking whether the following keys (likely created on a version before 0.3.1) need to be rotated because of missing signatures: $toRotate"
408408
)
409409
for {
410410
newKeys <- Future.traverse(currentKeys) {
@@ -427,9 +427,7 @@ class NodeInitializer(
427427
keys = newKeysNE,
428428
retryFor = RetryFor.Automation,
429429
)
430-
} yield logger.info(
431-
s"Rotating OTK mapping keys that did not sign the OTK topology transaction."
432-
)
430+
} yield ()
433431
} else {
434432
Future.unit
435433
}

0 commit comments

Comments
 (0)