diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-10-06 22:58:20 +0400 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-10-06 22:58:20 +0400 |
commit | 2ff832c576b540ee583f4a2fc42eb934b05f9354 (patch) | |
tree | 952ab2230cc3a6c174da10d8fb110fc8b5275e4b | |
parent | Merge pull request #2539 (diff) | |
parent | core: fix logging the one time public key on error (diff) | |
download | monero-2ff832c576b540ee583f4a2fc42eb934b05f9354.tar.xz |
Merge pull request #2540
71c7f8d0 core: fix logging the one time public key on error (moneromooo-monero)
-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 56d888e1d..fd647a356 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; |