diff options
| author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-09-15 20:25:17 +0100 |
|---|---|---|
| committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-09-27 11:40:05 +0100 |
| commit | 71c7f8d0dc5e47066c7f2ff7e1fafd017ceebca6 (patch) | |
| tree | f14a2aa5f2dca5c58c9bd84b56d30d7eb8ec7b8a | |
| parent | 5f7cddeb5383926e8c259939c0d2b490322bfe65 (diff) | |
| download | monzero-core-71c7f8d0dc5e47066c7f2ff7e1fafd017ceebca6.tar.gz monzero-core-71c7f8d0dc5e47066c7f2ff7e1fafd017ceebca6.tar.xz monzero-core-71c7f8d0dc5e47066c7f2ff7e1fafd017ceebca6.zip | |
core: fix logging the one time public key on error
| -rw-r--r-- | src/cryptonote_core/cryptonote_tx_utils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptonote_core/cryptonote_tx_utils.cpp b/src/cryptonote_core/cryptonote_tx_utils.cpp index 19ed57aba..2fb7c8c2a 100644 --- a/src/cryptonote_core/cryptonote_tx_utils.cpp +++ b/src/cryptonote_core/cryptonote_tx_utils.cpp @@ -245,7 +245,7 @@ namespace cryptonote { LOG_ERROR("derived public key mismatch with output public key at index " << idx << ", real out " << src_entr.real_output << "! "<< ENDL << "derived_key:" << string_tools::pod_to_hex(in_ephemeral.pub) << ENDL << "real output_public_key:" - << string_tools::pod_to_hex(src_entr.outputs[src_entr.real_output].second) ); + << string_tools::pod_to_hex(src_entr.outputs[src_entr.real_output].second.dest) ); LOG_ERROR("amount " << src_entr.amount << ", rct " << src_entr.rct); LOG_ERROR("tx pubkey " << src_entr.real_out_tx_key << ", real_output_in_tx_index " << src_entr.real_output_in_tx_index); return false; |
