+
Skip to content

Conversation

dolanbernard
Copy link
Contributor

Renamed unmask_value to unmask_amount
unmask_amount now returns both unmasked value and unmasked token id

Motivation

This is needed for the SDK to recover the token ID of a masked amount

Future Work

Parameterize tx builder for token ID

Changed unmask_value to unmask_amount, returning an Amount class.
The Amount class contains both the value and the token ID
Copy link
Contributor

@iamalwaysuncomfortable iamalwaysuncomfortable left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

Copy link
Contributor

@remoun remoun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dolanbernard dolanbernard merged commit 88c6222 into candidate-1.2 May 10, 2022
@dolanbernard dolanbernard deleted the android-sdk-token-id branch May 10, 2022 03:16
@jcape jcape added this to the 1.2.0 Release milestone May 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载