CORDA-1386 - Updates withoutIssuer to not strip display token size. (#3191)

This commit is contained in:
Katelyn Baker 2018-05-18 15:46:04 +01:00 committed by GitHub
parent 35246460e2
commit e39c7a222a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 <T : Any> Amount<Issued<T>>.withoutIssuer(): Amount<T> = Amount(quantity, token.product)
fun <T : Any> Amount<Issued<T>>.withoutIssuer(): Amount<T> = Amount(quantity, displayTokenSize, token.product)
// DOCSTART 3