From 66233641b1021edb1cdf69a754ef2c02e7788d4c Mon Sep 17 00:00:00 2001 From: Denys Zadorozhnyi Date: Tue, 8 Oct 2024 11:09:40 +0300 Subject: [PATCH] test: rename `Component` to `MyAccount` in `basic-wallet` Rust SDK test --- tests/rust-apps-wasm/rust-sdk/basic-wallet/src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/rust-apps-wasm/rust-sdk/basic-wallet/src/lib.rs b/tests/rust-apps-wasm/rust-sdk/basic-wallet/src/lib.rs index 62a786f4..3dcc9f45 100644 --- a/tests/rust-apps-wasm/rust-sdk/basic-wallet/src/lib.rs +++ b/tests/rust-apps-wasm/rust-sdk/basic-wallet/src/lib.rs @@ -19,14 +19,14 @@ fn my_panic(_info: &core::panic::PanicInfo) -> ! { use miden_sdk::*; -bindings::export!(Component with_types_in bindings); +bindings::export!(MyAccount with_types_in bindings); mod bindings; use bindings::exports::miden::basic_wallet::basic_wallet::Guest; -struct Component; +struct MyAccount; -impl Guest for Component { +impl Guest for MyAccount { fn receive_asset(asset: CoreAsset) { add_asset(asset); }