mirror of
https://code.gri.mw/GUI/grim.git
synced 2026-07-13 10:18:54 +00:00
wallet: show only txs with slate id
This commit is contained in:
@@ -1396,7 +1396,7 @@ fn sync_wallet_data(wallet: &Wallet, from_node: bool) {
|
||||
|
||||
// Retrieve txs from local database.
|
||||
let txs_args = RetrieveTxQueryArgs {
|
||||
exclude_cancelled: Some(false),
|
||||
exclude_cancelled: Some(true),
|
||||
sort_field: Some(RetrieveTxQuerySortField::CreationTimestamp),
|
||||
sort_order: Some(RetrieveTxQuerySortOrder::Desc),
|
||||
..Default::default()
|
||||
@@ -1419,7 +1419,7 @@ fn sync_wallet_data(wallet: &Wallet, from_node: bool) {
|
||||
let account_txs = txs.1.iter().map(|v| v.clone()).filter(|tx| {
|
||||
match wallet.get_parent_key_id() {
|
||||
Ok(key) => {
|
||||
tx.parent_key_id == key
|
||||
tx.parent_key_id == key && tx.tx_slate_id.is_some()
|
||||
}
|
||||
Err(_) => {
|
||||
true
|
||||
|
||||
Reference in New Issue
Block a user