aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet_rpc_server.cpp
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2020-02-19 22:22:36 -0500
committerluigi1111 <luigi1111w@gmail.com>2020-02-19 22:22:36 -0500
commit22a03673982fae857b4f2eb6a775021e3a624a56 (patch)
tree398eff1ede23de9f6575aedbc633c06c839e53ec /src/wallet/wallet_rpc_server.cpp
parentMerge pull request #6188 (diff)
parentWallet: Distingush amounts for a single subaddress (diff)
downloadmonero-22a03673982fae857b4f2eb6a775021e3a624a56.tar.xz
Merge pull request #6190
096a9db Wallet: Distingush amounts for a single subaddress (tmoravec)
Diffstat (limited to 'src/wallet/wallet_rpc_server.cpp')
-rw-r--r--src/wallet/wallet_rpc_server.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wallet/wallet_rpc_server.cpp b/src/wallet/wallet_rpc_server.cpp
index d282d7cb2..2a051553b 100644
--- a/src/wallet/wallet_rpc_server.cpp
+++ b/src/wallet/wallet_rpc_server.cpp
@@ -326,6 +326,7 @@ namespace tools
entry.height = pd.m_block_height;
entry.timestamp = pd.m_timestamp;
entry.amount = pd.m_amount;
+ entry.amounts = pd.m_amounts;
entry.unlock_time = pd.m_unlock_time;
entry.locked = !m_wallet->is_transfer_unlocked(pd.m_unlock_time, pd.m_block_height);
entry.fee = pd.m_fee;
@@ -408,6 +409,7 @@ namespace tools
entry.height = 0;
entry.timestamp = pd.m_timestamp;
entry.amount = pd.m_amount;
+ entry.amounts = pd.m_amounts;
entry.unlock_time = pd.m_unlock_time;
entry.locked = true;
entry.fee = pd.m_fee;