mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
wallet_rpc_server: always fill out subaddr_indices in get_transfers
It was not filled out for in and pool types
This commit is contained in:
parent
4308a2e173
commit
cd1eaff29e
1 changed files with 2 additions and 0 deletions
|
@ -302,6 +302,7 @@ namespace tools
|
||||||
entry.note = m_wallet->get_tx_note(pd.m_tx_hash);
|
entry.note = m_wallet->get_tx_note(pd.m_tx_hash);
|
||||||
entry.type = pd.m_coinbase ? "block" : "in";
|
entry.type = pd.m_coinbase ? "block" : "in";
|
||||||
entry.subaddr_index = pd.m_subaddr_index;
|
entry.subaddr_index = pd.m_subaddr_index;
|
||||||
|
entry.subaddr_indices.push_back(pd.m_subaddr_index);
|
||||||
entry.address = m_wallet->get_subaddress_as_str(pd.m_subaddr_index);
|
entry.address = m_wallet->get_subaddress_as_str(pd.m_subaddr_index);
|
||||||
set_confirmations(entry, m_wallet->get_blockchain_current_height(), m_wallet->get_last_block_reward());
|
set_confirmations(entry, m_wallet->get_blockchain_current_height(), m_wallet->get_last_block_reward());
|
||||||
}
|
}
|
||||||
|
@ -373,6 +374,7 @@ namespace tools
|
||||||
entry.double_spend_seen = ppd.m_double_spend_seen;
|
entry.double_spend_seen = ppd.m_double_spend_seen;
|
||||||
entry.type = "pool";
|
entry.type = "pool";
|
||||||
entry.subaddr_index = pd.m_subaddr_index;
|
entry.subaddr_index = pd.m_subaddr_index;
|
||||||
|
entry.subaddr_indices.push_back(pd.m_subaddr_index);
|
||||||
entry.address = m_wallet->get_subaddress_as_str(pd.m_subaddr_index);
|
entry.address = m_wallet->get_subaddress_as_str(pd.m_subaddr_index);
|
||||||
set_confirmations(entry, m_wallet->get_blockchain_current_height(), m_wallet->get_last_block_reward());
|
set_confirmations(entry, m_wallet->get_blockchain_current_height(), m_wallet->get_last_block_reward());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue