Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"hiding_point_slot" should come before "amount" in token contract #10092

Open
olehmisar opened this issue Nov 21, 2024 · 0 comments
Open

"hiding_point_slot" should come before "amount" in token contract #10092

olehmisar opened this issue Nov 21, 2024 · 0 comments

Comments

@olehmisar
Copy link
Contributor

hiding_point_slot is kinda a hidden address if i understand correctly. Usually recipient addresses come before amount.

- fn finalize_transfer_to_private(amount: Field, hiding_point_slot: Field) {
+ fn finalize_transfer_to_private(hiding_point_slot: Field, amount: Field) {

And for other similar functions as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant