diff options
author | luigi1111 <luigi1111w@gmail.com> | 2020-11-29 01:58:56 -0600 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2020-11-29 01:58:56 -0600 |
commit | cf816e51ad0137f02d5c6e1b629c0104535a81f9 (patch) | |
tree | c0ec6b74c817c43525761c3d6f92684ee9e78481 /src/wallet | |
parent | Merge pull request #7018 (diff) | |
parent | wallet_api: TransactionHistory - fill unconfirmed out payments dests (diff) | |
download | monero-cf816e51ad0137f02d5c6e1b629c0104535a81f9.tar.xz |
Merge pull request #7020
2c66894 wallet_api: TransactionHistory - fill unconfirmed out payments dests (xiphon)
Diffstat (limited to 'src/wallet')
-rw-r--r-- | src/wallet/api/transaction_history.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wallet/api/transaction_history.cpp b/src/wallet/api/transaction_history.cpp index 3a8532db8..b6d52c58d 100644 --- a/src/wallet/api/transaction_history.cpp +++ b/src/wallet/api/transaction_history.cpp @@ -228,6 +228,10 @@ void TransactionHistoryImpl::refresh() ti->m_label = pd.m_subaddr_indices.size() == 1 ? m_wallet->m_wallet->get_subaddress_label({pd.m_subaddr_account, *pd.m_subaddr_indices.begin()}) : ""; ti->m_timestamp = pd.m_timestamp; ti->m_confirmations = 0; + for (const auto &d : pd.m_dests) + { + ti->m_transfers.push_back({d.amount, d.address(m_wallet->m_wallet->nettype(), pd.m_payment_id)}); + } m_history.push_back(ti); } |