diff --git a/account/template/src/lib.rs b/account/template/src/lib.rs index 4c67d95..de7d43c 100644 --- a/account/template/src/lib.rs +++ b/account/template/src/lib.rs @@ -32,12 +32,12 @@ impl Account { // externally (in this example) #[no_mangle] fn receive_asset(asset: CoreAsset) { - add_asset(asset); + miden::account::add_asset(asset); } #[no_mangle] fn send_asset(asset: CoreAsset, tag: Tag, note_type: NoteType, recipient: Recipient) { - let asset = remove_asset(asset); - create_note(asset, tag, note_type, recipient); + let asset = miden::account::remove_asset(asset); + miden::tx::create_note(asset, tag, note_type, recipient); } }