From 6530e0eeff52afd3157ab56e4bd12ada5f281a8a Mon Sep 17 00:00:00 2001 From: Denys Zadorozhnyi Date: Wed, 16 Oct 2024 17:06:19 +0300 Subject: [PATCH] fix: fully qualify `miden::account` and `miden::tx` functions --- account/template/src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); } }