mirror of
https://github.com/corda/corda.git
synced 2025-02-05 10:39:13 +00:00
CORDA-1386 - Updates withoutIssuer to not strip display token size. (#3191)
This commit is contained in:
parent
35246460e2
commit
e39c7a222a
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user