Skip to content

Commit

Permalink
test: rename Component to MyAccount in basic-wallet Rust SDK test
Browse files Browse the repository at this point in the history
  • Loading branch information
greenhat committed Oct 8, 2024
1 parent 0553c1a commit 6623364
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/rust-apps-wasm/rust-sdk/basic-wallet/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 6623364

Please sign in to comment.