leo/tests/compiler/finalize/finalize_name_mismatch_fail.leo
2022-09-13 11:06:24 +02:00

18 lines
333 B
Plaintext

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