From 4b804bbc97ebca57b05183a5d2cf46629b3f9750 Mon Sep 17 00:00:00 2001 From: Severin Siffert Date: Fri, 22 Dec 2023 10:41:53 +0100 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Eric Swanson <64809312+ericswanson-dfinity@users.noreply.github.com> --- src/dfx/src/lib/identity/wallet.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/dfx/src/lib/identity/wallet.rs b/src/dfx/src/lib/identity/wallet.rs index 54015377b7..c1cf51f8e5 100644 --- a/src/dfx/src/lib/identity/wallet.rs +++ b/src/dfx/src/lib/identity/wallet.rs @@ -27,7 +27,7 @@ use thiserror::Error; #[derive(Debug, Error)] pub enum GetOrCreateWalletCanisterError { #[error( - "No wallet cofigured for combination of identity '{identity}' and network '{network}'" + "No wallet configured for combination of identity '{identity}' and network '{network}'" )] NoWalletConfigured { identity: String, network: String }, @@ -165,7 +165,6 @@ pub async fn create_wallet( /// While developing locally, this always creates a new wallet, even if `create` is false. /// This can be inhibited by setting the DFX_DISABLE_AUTO_WALLET env var. #[allow(clippy::needless_lifetimes)] -// #[context("Failed to get wallet canister caller for identity '{}' on network '{}'.", name, network.name)] pub async fn get_or_create_wallet_canister<'env>( env: &'env dyn Environment, network: &NetworkDescriptor,