leo/tests/compiler/finalize/finalize.leo
2022-09-07 10:39:00 -07:00

14 lines
292 B
Plaintext

/*
namespace: Compile
expectation: Pass
*/
mapping account: address => u64;
@program
function mint_public(public receiver: address, public amount: u64) {
finalize(receiver, amount);
} finalize (public receiver: address, public amount: u64) {
increment(account, receiver, amount);
}