diff --git a/core/src/main/kotlin/net/corda/core/contracts/Structures.kt b/core/src/main/kotlin/net/corda/core/contracts/Structures.kt index bf01867057..6025ec0351 100644 --- a/core/src/main/kotlin/net/corda/core/contracts/Structures.kt +++ b/core/src/main/kotlin/net/corda/core/contracts/Structures.kt @@ -62,7 +62,7 @@ const val MAX_ISSUER_REF_SIZE = 512 * cares about specific issuers with code that will accept any, or which is imposing issuer constraints via some * other mechanism and the additional type safety is not wanted. */ -fun Amount>.withoutIssuer(): Amount = Amount(quantity, token.product) +fun Amount>.withoutIssuer(): Amount = Amount(quantity, displayTokenSize, token.product) // DOCSTART 3