Skip to content

Commit

Permalink
Fix wallet accounts example alias (#1022)
Browse files Browse the repository at this point in the history
  • Loading branch information
thibault-martinez authored Aug 16, 2023
1 parent b8a06c4 commit 7c40a44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/examples/wallet/accounts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ async fn main() -> Result<()> {

// Get or create second account
let alias2 = "Bob";
let account2 = wallet.get_or_create_account("Alice").await?;
let account2 = wallet.get_or_create_account(alias2).await?;

let accounts = wallet.get_accounts().await?;
println!("WALLET ACCOUNTS:");
Expand Down

0 comments on commit 7c40a44

Please sign in to comment.