mirror of
https://github.com/corda/corda.git
synced 2024-12-29 09:18:58 +00:00
Temporrary fix for transaction size check
This commit is contained in:
parent
dbe02ced99
commit
33b24cb27e
@ -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.
|
// 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.inputs.serialize().size)
|
||||||
minus(ltx.commands.serialize().size)
|
minus(ltx.commands.serialize().size)
|
||||||
minus(ltx.outputs.serialize().size)
|
minus(ltx.outputs.serialize().size)
|
||||||
|
Loading…
Reference in New Issue
Block a user