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

17 lines
329 B
Plaintext

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