fix self send command (#2022)
This commit is contained in:
@@ -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) => {
|
||||
|
||||
@@ -34,12 +34,12 @@ impl WalletCommAdapter for NullWalletCommAdapter {
|
||||
true
|
||||
}
|
||||
|
||||
fn send_tx_sync(&self, _dest: &str, _slate: &Slate) -> Result<Slate, Error> {
|
||||
unimplemented!();
|
||||
fn send_tx_sync(&self, _dest: &str, slate: &Slate) -> Result<Slate, Error> {
|
||||
Ok(slate.clone())
|
||||
}
|
||||
|
||||
fn send_tx_async(&self, _dest: &str, _slate: &Slate) -> Result<(), Error> {
|
||||
unimplemented!();
|
||||
Ok(())
|
||||
}
|
||||
|
||||
fn receive_tx_async(&self, _params: &str) -> Result<Slate, Error> {
|
||||
|
||||
Reference in New Issue
Block a user