From 2c8ede6af2a93c531ed8f2abb69028b1ab0015ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?O=C4=9Fuz=20Utku=20Y=C4=B1ld=C4=B1z?= <76889160+oguzutku1745@users.noreply.github.com> Date: Sat, 9 Dec 2023 22:14:06 +0300 Subject: [PATCH] Token program fix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The statement about a 'public receiver' is confusing when transferring public tokens to private Signed-off-by: Oğuz Utku Yıldız <76889160+oguzutku1745@users.noreply.github.com> --- token/src/main.leo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/token/src/main.leo b/token/src/main.leo index 58a02cd..bd01d85 100644 --- a/token/src/main.leo +++ b/token/src/main.leo @@ -107,7 +107,7 @@ program token.aleo { // The function `transfer_public_to_private` turns a specified token amount from `account` into a token record for the specified receiver. // This function preserves privacy for the receiver's record, however it publicly reveals the caller and the specified token amount. - transition transfer_public_to_private(public receiver: address, public amount: u64) -> token { + transition transfer_public_to_private(receiver: address, public amount: u64) -> token { // Produces a token record for the token receiver. let transferred: token = token { owner: receiver,