diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-12-23 14:31:54 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-02-12 12:16:35 +0000 |
commit | 2eff9b12d898ff0f3500c7124131e2881d2c5673 (patch) | |
tree | 14991bf7da8311f4dc5ed84ba09100051fc3c8b3 /src/wallet/api | |
parent | simplewallet: disable long payment ids by default (diff) | |
download | monero-2eff9b12d898ff0f3500c7124131e2881d2c5673.tar.xz |
core, wallet: remember original text version of destination address
Diffstat (limited to 'src/wallet/api')
-rw-r--r-- | src/wallet/api/wallet.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wallet/api/wallet.cpp b/src/wallet/api/wallet.cpp index 1b4370c36..ccbbe05be 100644 --- a/src/wallet/api/wallet.cpp +++ b/src/wallet/api/wallet.cpp @@ -1386,9 +1386,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, |