diff --git a/src/bin/cmd/wallet.rs b/src/bin/cmd/wallet.rs index efef88b37..f39a73025 100644 --- a/src/bin/cmd/wallet.rs +++ b/src/bin/cmd/wallet.rs @@ -463,6 +463,7 @@ pub fn wallet_command(wallet_args: &ArgMatches, config: GlobalWalletConfig) -> i match result { Ok(_) => { info!("Tx sent",); + println!("Tx sent",); return Ok(()); } Err(e) => { diff --git a/wallet/src/adapters/null.rs b/wallet/src/adapters/null.rs index 34ed5c576..90ee66c7e 100644 --- a/wallet/src/adapters/null.rs +++ b/wallet/src/adapters/null.rs @@ -34,12 +34,12 @@ impl WalletCommAdapter for NullWalletCommAdapter { true } - fn send_tx_sync(&self, _dest: &str, _slate: &Slate) -> Result { - unimplemented!(); + fn send_tx_sync(&self, _dest: &str, slate: &Slate) -> Result { + Ok(slate.clone()) } fn send_tx_async(&self, _dest: &str, _slate: &Slate) -> Result<(), Error> { - unimplemented!(); + Ok(()) } fn receive_tx_async(&self, _params: &str) -> Result {