Skip to content

Commit

Permalink
Fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
vicsn committed Nov 2, 2023
1 parent edc7696 commit f62b397
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arc-0020/token.aleo
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ finalize approve_public:
input r0 as field.public;
input r1 as u64.public; // increase in amount spender is allowed to withdraw from approver

// if approvals for approver field times spender field exists, the approved amount is increased.
// if approvals for approval field exists, the approved amount is increased.
// otherwise, the approved allowance is created.
get.or_use approvals[r0] 0u64 into r2;
add r1 r2 into r3;
Expand Down

0 comments on commit f62b397

Please sign in to comment.