One transaction with two identical cash outputs cannot be save in Vault

Description

When a cash output is identical only the fist output is saved.
Example: issuance of 2 coins of £1 issued by the same notary.
The is very artificial example created manually.

Refer for https://github.com/corda/corda/pull/3244
with example test to fail and potential fix.

Assignee

Szymon Sztuka

Reporter

Szymon Sztuka

Labels

Sprint

None

Epic Link

None

Priority

High

Severity

Medium

CVSS Score

None

CVSS Vector

None

Due Date

None

Engineering Teams

None

Fix versions

Affects versions

Ported to...

None

Story Points / Dev Days

None
Configure