mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 01:07:18 +03:00
Minor: fix trace logging in TimeBasedWriteSetSelector
(#11117)
CHANGELOG_BEGIN CHANGELOG_END
This commit is contained in:
parent
018e90854c
commit
b9a5a83175
@ -27,11 +27,10 @@ final class TimeBasedWriteSetSelector[ReadSet, WriteSet](now: () => Instant)
|
||||
!recordTime.isBefore(minRecordTime) &&
|
||||
!recordTime.isAfter(maxRecordTime)
|
||||
if (withinTimeBounds) {
|
||||
val rejectionReason =
|
||||
Rejection.RecordTimeOutOfRange(minRecordTime, maxRecordTime)
|
||||
logger.trace(s"Transaction rejected at post-execution, ${rejectionReason.description}")
|
||||
preExecutionOutput.successWriteSet
|
||||
} else {
|
||||
val rejectionReason = Rejection.RecordTimeOutOfRange(minRecordTime, maxRecordTime)
|
||||
logger.trace(s"Transaction rejected at post-execution, ${rejectionReason.description}")
|
||||
preExecutionOutput.outOfTimeBoundsWriteSet
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user