Skip to content

Commit

Permalink
ignore ledger updates that contain commands rejected due to de-duplic…
Browse files Browse the repository at this point in the history
  • Loading branch information
mziolekda authored Sep 18, 2019
1 parent df7262e commit bf9ae04
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit bf9ae04

Please sign in to comment.