diff options
author | Riccardo Spagni <ric@spagni.net> | 2016-11-05 10:28:25 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2016-11-05 10:28:25 +0200 |
commit | 1372f255af12564d41d8a9bbe247ce7b0fda78be (patch) | |
tree | f69531fa7ad225884267ac3e903203708036f31b /src/wallet/api | |
parent | Merge pull request #1272 (diff) | |
parent | wallet: fix bad amounts/fees again (diff) | |
download | monero-1372f255af12564d41d8a9bbe247ce7b0fda78be.tar.xz |
Merge pull request #1295
b5d6faa wallet: fix bad amounts/fees again (moneromooo-monero)
Diffstat (limited to 'src/wallet/api')
-rw-r--r-- | src/wallet/api/transaction_history.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/api/transaction_history.cpp b/src/wallet/api/transaction_history.cpp index 2ba5f3620..63c4ea3cc 100644 --- a/src/wallet/api/transaction_history.cpp +++ b/src/wallet/api/transaction_history.cpp @@ -157,7 +157,7 @@ void TransactionHistoryImpl::refresh() const tools::wallet2::confirmed_transfer_details &pd = i->second; uint64_t change = pd.m_change == (uint64_t)-1 ? 0 : pd.m_change; // change may not be known - uint64_t fee = pd.m_amount_in - pd.m_amount_out - change; + uint64_t fee = pd.m_amount_in - pd.m_amount_out; std::string payment_id = string_tools::pod_to_hex(i->second.m_payment_id); |