diff --git a/CHANGELOG.md b/CHANGELOG.md index 27ee506d80..74cea9f8d6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -57,6 +57,10 @@ Background: In order to determine whether to start a project-specific network or If `dfx start` is starting the shared network from within a dfx project, and that dfx.json contains settings in the `defaults` key for `bitcoin`, `replica`, or `canister_http`, then `dfx start` will warn that it is ignoring those settings. It will also describe how to define equivalent settings in networks.json. +### fix: dfx canister call --wallet no longer passes the parameter twice + +The parameter was erroneously passed twice. Now it is passed only once. + ## Dependencies ### Frontend canister diff --git a/src/dfx/src/commands/canister/call.rs b/src/dfx/src/commands/canister/call.rs index c8bfc11fbe..9f8eb53418 100644 --- a/src/dfx/src/commands/canister/call.rs +++ b/src/dfx/src/commands/canister/call.rs @@ -111,7 +111,6 @@ async fn do_wallet_call(wallet: &WalletCanister<'_>, args: &CallIn) -> DfxResult wallet.update_("wallet_call").with_arg(args64) }; let (result,): (Result,) = builder - .with_arg(args) .build() .call_and_wait() .await