From 7c40a44f066b55fd55ba7dd019c133a466bfb067 Mon Sep 17 00:00:00 2001 From: Thibault Martinez Date: Wed, 16 Aug 2023 15:28:46 +0200 Subject: [PATCH] Fix wallet accounts example alias (#1022) --- sdk/examples/wallet/accounts.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/examples/wallet/accounts.rs b/sdk/examples/wallet/accounts.rs index 82ce5e4a6c..21d9541bbe 100644 --- a/sdk/examples/wallet/accounts.rs +++ b/sdk/examples/wallet/accounts.rs @@ -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:");