aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/wallet.cpp
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-12-23 14:31:54 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-01-18 16:58:47 +0000
commitb7441c4a328f32cdf33f8e07816bcb080483d4cb (patch)
treeaa80fcf3a4d57887dab78c2efa5820e6885fb369 /src/wallet/api/wallet.cpp
parentcrptonote_core: do not error out sending unparsable extra field (diff)
downloadmonero-b7441c4a328f32cdf33f8e07816bcb080483d4cb.tar.xz
core, wallet: remember original text version of destination address
Diffstat (limited to '')
-rw-r--r--src/wallet/api/wallet.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wallet/api/wallet.cpp b/src/wallet/api/wallet.cpp
index 595dbac5e..935a8d51c 100644
--- a/src/wallet/api/wallet.cpp
+++ b/src/wallet/api/wallet.cpp
@@ -1407,9 +1407,11 @@ PendingTransaction *WalletImpl::createTransaction(const string &dst_addr, const
if (amount) {
vector<cryptonote::tx_destination_entry> dsts;
cryptonote::tx_destination_entry de;
+ de.original = dst_addr;
de.addr = info.address;
de.amount = *amount;
de.is_subaddress = info.is_subaddress;
+ de.is_integrated = info.has_payment_id;
dsts.push_back(de);
transaction->m_pending_tx = m_wallet->create_transactions_2(dsts, fake_outs_count, 0 /* unlock_time */,
adjusted_priority,