File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed
apps/common/src/main/scala/org/lfdecentralizedtrust/splice/store/db Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -594,12 +594,14 @@ final class DbMultiDomainAcsStore[TXE](
594594 )(implicit
595595 tc : TraceContext
596596 ): Future [DestinationHistory .InsertResult ] = {
597- val trees = items.collect { case UpdateHistoryResponse (TransactionTreeUpdate (tree), _) =>
598- assert(
599- tree.getRecordTime.isAfter(CantonTimestamp .MinValue .toInstant),
600- " insert() must not be called with import updates" ,
601- )
602- tree
597+ val trees = items.collect {
598+ case UpdateHistoryResponse (TransactionTreeUpdate (tree), _)
599+ if ! tree.getWorkflowId.startsWith(IMPORT_ACS_WORKFLOW_ID_PREFIX ) =>
600+ assert(
601+ tree.getRecordTime.isAfter(CantonTimestamp .MinValue .toInstant),
602+ " insert() must not be called with import updates" ,
603+ )
604+ tree
603605 }
604606 val nonEmpty = NonEmptyList
605607 .fromFoldable(trees)
You can’t perform that action at this time.
0 commit comments