mirror of
https://github.com/mimblewimble/grin.git
synced 2025-02-01 17:01:09 +03:00
This commit is contained in:
parent
bfb3505183
commit
b4308e9075
1 changed files with 4 additions and 0 deletions
|
@ -119,6 +119,10 @@ pub fn issue_send_tx(
|
|||
} else */
|
||||
|
||||
if &dest[..4] != "http" {
|
||||
WalletData::with_wallet(&config.data_file_dir, |wallet_data| {
|
||||
info!(LOGGER, "cleaning up unused change output from wallet");
|
||||
wallet_data.delete_output(&change_key);
|
||||
});
|
||||
panic!(
|
||||
"dest formatted as {} but send -d expected stdout or http://IP:port",
|
||||
dest
|
||||
|
|
Loading…
Reference in a new issue