diff --git a/ledger/sandbox/src/main/scala/com/digitalasset/platform/index/JdbcIndexer.scala b/ledger/sandbox/src/main/scala/com/digitalasset/platform/index/JdbcIndexer.scala index 8d537ecb1774..2b3a4aff0db9 100644 --- a/ledger/sandbox/src/main/scala/com/digitalasset/platform/index/JdbcIndexer.scala +++ b/ledger/sandbox/src/main/scala/com/digitalasset/platform/index/JdbcIndexer.scala @@ -257,6 +257,9 @@ class JdbcIndexer private[index] ( // TODO(JM) implement configuration rejections Future.successful(()) + case CommandRejected(submitterInfo, RejectionReason.DuplicateCommand) => + Future.successful(()) + case CommandRejected(submitterInfo, reason) => val rejection = PersistenceEntry.Rejection( LedgerEntry.Rejection(