Add retrieve by tx_id in owner_api

This commit is contained in:
Quentin Le Sceller
2018-11-12 19:18:54 +01:00
parent 1b65738504
commit 1b264595e3
9 changed files with 49 additions and 30 deletions
+1 -1
View File
@@ -524,7 +524,7 @@ pub fn wallet_command(wallet_args: &ArgMatches, config: GlobalWalletConfig) -> i
},
};
let (height, _) = api.node_height()?;
let (validated, txs) = api.retrieve_txs(true, tx_id)?;
let (validated, txs) = api.retrieve_txs(true, tx_id, None)?;
let include_status = !tx_id.is_some();
display::txs(
account,