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 {
|
match result {
|
||||||
Ok(_) => {
|
Ok(_) => {
|
||||||
info!("Tx sent",);
|
info!("Tx sent",);
|
||||||
|
println!("Tx sent",);
|
||||||
return Ok(());
|
return Ok(());
|
||||||
}
|
}
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
|
|
|
@ -34,12 +34,12 @@ impl WalletCommAdapter for NullWalletCommAdapter {
|
||||||
true
|
true
|
||||||
}
|
}
|
||||||
|
|
||||||
fn send_tx_sync(&self, _dest: &str, _slate: &Slate) -> Result<Slate, Error> {
|
fn send_tx_sync(&self, _dest: &str, slate: &Slate) -> Result<Slate, Error> {
|
||||||
unimplemented!();
|
Ok(slate.clone())
|
||||||
}
|
}
|
||||||
|
|
||||||
fn send_tx_async(&self, _dest: &str, _slate: &Slate) -> Result<(), Error> {
|
fn send_tx_async(&self, _dest: &str, _slate: &Slate) -> Result<(), Error> {
|
||||||
unimplemented!();
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
fn receive_tx_async(&self, _params: &str) -> Result<Slate, Error> {
|
fn receive_tx_async(&self, _params: &str) -> Result<Slate, Error> {
|
||||||
|
|
Loading…
Reference in a new issue