aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/wallet.cpp
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2019-01-18 19:12:58 +0200
committerRiccardo Spagni <ric@spagni.net>2019-01-18 19:12:58 +0200
commit4e723843183b12308bce2ef560385ea885ad0174 (patch)
tree86796c708d53a72f73e20360c87ff5991b1c0ee2 /src/wallet/api/wallet.cpp
parentMerge pull request #5050 (diff)
parentcore: include a dummy encrypted payment id when no payment is used (diff)
downloadmonero-4e723843183b12308bce2ef560385ea885ad0174.tar.xz
Merge pull request #5008
c6d38718 core: include a dummy encrypted payment id when no payment is used (moneromooo-monero) b7441c4a core, wallet: remember original text version of destination address (moneromooo-monero) a9b1c04a crptonote_core: do not error out sending unparsable extra field (moneromooo-monero)
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,