mirror of
https://github.com/jwinterm/grin-wallet.git
synced 2026-10-17 07:11:36 +02:00
update transaction
api calls throughout
This commit is contained in:
@@ -1123,7 +1123,8 @@ where
|
||||
let updater_running = owner_api.updater_running.load(Ordering::Relaxed);
|
||||
controller::owner_single_use(None, keychain_mask, Some(owner_api), |api, m| {
|
||||
let res = api.node_height(m)?;
|
||||
let (validated, txs) = api.retrieve_txs(m, true, args.id, args.tx_slate_id)?;
|
||||
// Note advanced query args not currently supported by command line client
|
||||
let (validated, txs) = api.retrieve_txs(m, true, args.id, args.tx_slate_id, None)?;
|
||||
let include_status = !args.id.is_some() && !args.tx_slate_id.is_some();
|
||||
// If view count is specified, restrict the TX list to `txs.len() - count`
|
||||
let first_tx = args
|
||||
@@ -1235,7 +1236,7 @@ where
|
||||
}
|
||||
Some(s) => s,
|
||||
};
|
||||
let (_, txs) = api.retrieve_txs(m, true, Some(args.id), None)?;
|
||||
let (_, txs) = api.retrieve_txs(m, true, Some(args.id), None, None)?;
|
||||
match args.dump_file {
|
||||
None => {
|
||||
if txs[0].confirmed {
|
||||
|
||||
Reference in New Issue
Block a user