mirror of
https://github.com/mimblewimble/grin.git
synced 2025-01-21 11:31:08 +03:00
fix self send command (#2022)
This commit is contained in:
parent
0c5b3f5f64
commit
34520a46d9
2 changed files with 4 additions and 3 deletions
|
@ -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> {
|
||||
|
|
Loading…
Reference in a new issue