diff options
author | Lee Clagett <code@leeclagett.com> | 2016-10-31 13:22:21 -0400 |
---|---|---|
committer | Lee Clagett <code@leeclagett.com> | 2016-10-31 13:22:21 -0400 |
commit | 4869db702afcda561abc9347b3c9d3060e9c5ac0 (patch) | |
tree | 743b88a3cc87cad3579bdb3876a637f837fd2759 /src/wallet/wallet2.cpp | |
parent | Merge pull request #1270 (diff) | |
download | monero-4869db702afcda561abc9347b3c9d3060e9c5ac0.tar.xz |
adding static_assert to pod functions in string tools
Diffstat (limited to '')
-rw-r--r-- | src/wallet/wallet2.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index a02c2e4e5..d3e8ac4c5 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -518,14 +518,14 @@ void wallet2::process_new_transaction(const cryptonote::transaction& tx, const s } else if (m_transfers[kit->second].m_spent || m_transfers[kit->second].amount() >= tx.vout[o].amount) { - LOG_ERROR("key image " << epee::string_tools::pod_to_hex(ki) + LOG_ERROR("key image " << epee::string_tools::pod_to_hex(kit->first) << " from received " << print_money(tx.vout[o].amount) << " output already exists with " << (m_transfers[kit->second].m_spent ? "spent" : "unspent") << " " << print_money(m_transfers[kit->second].amount()) << ", received output ignored"); } else { - LOG_ERROR("key image " << epee::string_tools::pod_to_hex(ki) + LOG_ERROR("key image " << epee::string_tools::pod_to_hex(kit->first) << " from received " << print_money(tx.vout[o].amount) << " output already exists with " << print_money(m_transfers[kit->second].amount()) << ", replacing with new output"); // The new larger output replaced a previous smaller one |