[CORDA-1098]: Fixed Artemis filters for flows draining mode. (#2613)

This commit is contained in:
Michele Sollecito
2018-02-22 20:45:56 +00:00
committed by GitHub
parent 67f9266b24
commit e91b74962b
3 changed files with 9 additions and 8 deletions

View File

@ -144,7 +144,7 @@ class WireTransaction(componentGroups: List<ComponentGroup>, val privacySalt: Pr
}
// Check attachment size first as they are most likely to go over the limit.
ltx.attachments.forEach { minus(it.size) }
ltx.attachments.associateBy(Attachment::id).values.forEach { minus(it.size) }
minus(ltx.inputs.serialize().size)
minus(ltx.commands.serialize().size)
minus(ltx.outputs.serialize().size)