Updates withoutIssuer to not strip display token size.

This commit is contained in:
Joel Dudley 2018-04-27 10:26:47 +01:00 committed by GitHub
parent b210f7ab0b
commit 0f310dd966
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