leo/tests/compiler/finalize/finalize_name_mismatch_fail.leo
2022-11-12 11:28:58 -08:00

19 lines
408 B
Plaintext

/*
namespace: Compile
expectation: Fail
*/
program test.aleo {
mapping account: address => u64;
mapping values: u8 => u8;
transition mint_public(public receiver: address, public amount: u64) {
return then finalize(receiver, amount);
}
finalize mint_private (public receiver: address, public amount: u64) {
increment(account, receiver, amount);
}
}