Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Eric Swanson <[email protected]>
  • Loading branch information
sesi200 and ericswanson-dfinity authored Dec 22, 2023
1 parent c9cacfd commit 4b804bb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/dfx/src/lib/identity/wallet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 },

Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 4b804bb

Please sign in to comment.