leo/tests/compiler/finalize/finalize.leo

14 lines
292 B
Plaintext
Raw Normal View History

2022-09-07 20:39:00 +03:00
/*
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);
}