Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisWT committed Apr 26, 2023
1 parent bae5943 commit 93f30c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion token/src/main.leo
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ program token.aleo {
}

finalize transfer_public(public sender: address, public receiver: address, public amount: u64) {
// Decrements `account[sender]` by `amount`.
// Decrements `account[sender]` by `amount`.
// If `account[sender]` does not exist, it will be created.
// If `account[sender] - amount` underflows, `transfer_public` is reverted.
let sender_amount: u64 = Mapping::get_or_init(account, sender, 0u64);
Expand Down

0 comments on commit 93f30c9

Please sign in to comment.