diff options
| author | stoffu <stoffu@protonmail.ch> | 2018-01-14 13:37:57 +0900 |
|---|---|---|
| committer | stoffu <stoffu@protonmail.ch> | 2018-01-26 10:58:23 +0900 |
| commit | ffc2e5705d9a61413a295d7138100af82956738b (patch) | |
| tree | a2947f8b42f3d345603c4c3f38eb36b3bace2146 /src/wallet/wallet_rpc_server.cpp | |
| parent | 09d19c9139918524c5b08aa8dc39cf9985f3d999 (diff) | |
| download | monzero-core-ffc2e5705d9a61413a295d7138100af82956738b.tar.gz monzero-core-ffc2e5705d9a61413a295d7138100af82956738b.tar.xz monzero-core-ffc2e5705d9a61413a295d7138100af82956738b.zip | |
wallet rpc: show fees when querying incoming transfers
Diffstat (limited to 'src/wallet/wallet_rpc_server.cpp')
| -rw-r--r-- | src/wallet/wallet_rpc_server.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wallet/wallet_rpc_server.cpp b/src/wallet/wallet_rpc_server.cpp index 3bb69f2be..85e1617b8 100644 --- a/src/wallet/wallet_rpc_server.cpp +++ b/src/wallet/wallet_rpc_server.cpp @@ -254,7 +254,7 @@ namespace tools entry.timestamp = pd.m_timestamp; entry.amount = pd.m_amount; entry.unlock_time = pd.m_unlock_time; - entry.fee = 0; // TODO + entry.fee = pd.m_fee; entry.note = m_wallet->get_tx_note(pd.m_tx_hash); entry.type = "in"; entry.subaddr_index = pd.m_subaddr_index; @@ -317,7 +317,7 @@ namespace tools entry.timestamp = pd.m_timestamp; entry.amount = pd.m_amount; entry.unlock_time = pd.m_unlock_time; - entry.fee = 0; // TODO + entry.fee = pd.m_fee; entry.note = m_wallet->get_tx_note(pd.m_tx_hash); entry.double_spend_seen = ppd.m_double_spend_seen; entry.type = "pool"; |
