aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2019-08-21 15:20:51 -0500
committerluigi1111 <luigi1111w@gmail.com>2019-08-21 15:20:51 -0500
commit1bd3f1a1fbb7ae940cb3a147da8332b471117f62 (patch)
treea1a0f42197cb15ac6793e65e69896cb793789ccb /src/wallet/api
parentMerge pull request #5749 (diff)
parentwallet: provide original address for outgoing transfers (diff)
downloadmonero-1bd3f1a1fbb7ae940cb3a147da8332b471117f62.tar.xz
Merge pull request #5750
884df82 wallet: provide original address for outgoing transfers (xiphon)
Diffstat (limited to 'src/wallet/api')
-rw-r--r--src/wallet/api/transaction_history.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/api/transaction_history.cpp b/src/wallet/api/transaction_history.cpp
index f4ad8b1f6..ad7029a3c 100644
--- a/src/wallet/api/transaction_history.cpp
+++ b/src/wallet/api/transaction_history.cpp
@@ -181,7 +181,7 @@ void TransactionHistoryImpl::refresh()
// single output transaction might contain multiple transfers
for (const auto &d: pd.m_dests) {
- ti->m_transfers.push_back({d.amount, get_account_address_as_str(m_wallet->m_wallet->nettype(), d.is_subaddress, d.addr)});
+ ti->m_transfers.push_back({d.amount, d.address(m_wallet->m_wallet->nettype(), pd.m_payment_id)});
}
m_history.push_back(ti);
}