diff --git a/wallet/src/cli/mod.rs b/wallet/src/cli/mod.rs index 741f280..12ec57a 100644 --- a/wallet/src/cli/mod.rs +++ b/wallet/src/cli/mod.rs @@ -159,20 +159,17 @@ pub async fn execute_subcommand(command: Command) -> Result { - let bytecode: Vec = std::fs::read(&binary_filepath).with_context(|| { - format!( - "Failed to read program binary at {}", - binary_filepath.display() - ) - })?; + let bytecode: Vec = std::fs::read(&binary_filepath).context(format!( + "Failed to read program binary at {}", + binary_filepath.display() + ))?; let message = nssa::program_deployment_transaction::Message::new(bytecode); let transaction = ProgramDeploymentTransaction::new(message); - let response = wallet_core + let _response = wallet_core .sequencer_client .send_tx_program(transaction) .await - .with_context(|| "Transaction submission error"); - println!("Response: {:?}", response); + .context("Transaction submission error"); SubcommandReturnValue::Empty }