leo/tests/compiler/finalize/finalize_name_mismatch_fail.leo
2022-10-05 16:53:49 -07:00

19 lines
402 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) {
async finalize(receiver, amount);
}
finalize mint_private (public receiver: address, public amount: u64) {
increment(account, receiver, amount);
}
}