diff options
author | cslashm <cslashm@gmail.com> | 2019-10-01 17:28:23 +0200 |
---|---|---|
committer | cslashm <cslashm@gmail.com> | 2019-10-03 16:05:40 +0200 |
commit | 32febd277d38ff9a40b96f7507cd0267f0d6d09e (patch) | |
tree | 922c8ce2693e36f3370b27435263af14b219a660 /src/device/device_ledger.cpp | |
parent | Revert PR #5835 (export view key) (diff) | |
download | monero-32febd277d38ff9a40b96f7507cd0267f0d6d09e.tar.xz |
Fix debug feature
Diffstat (limited to '')
-rw-r--r-- | src/device/device_ledger.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/device/device_ledger.cpp b/src/device/device_ledger.cpp index cbfca6c56..b89fb0827 100644 --- a/src/device/device_ledger.cpp +++ b/src/device/device_ledger.cpp @@ -567,6 +567,7 @@ namespace hw { } #ifdef DEBUG_HWDEVICE + send_simple(INS_GET_KEY, 0x04); memmove(dbg_viewkey.data, this->buffer_recv+0, 32); memmove(dbg_spendkey.data, this->buffer_recv+32, 32); #endif @@ -1300,6 +1301,7 @@ namespace hw { log_hexbuffer("GENERATE_TX_PROOF: **r** ", sig.r.data, sizeof( sig.r.data)); this->controle_device->generate_tx_proof(prefix_hash_x, R_x, A_x, B_x, D_x, r_x, sig_x); + MDEBUG("FAIL is normal if random is not fixed in proof"); hw::ledger::check32("generate_tx_proof", "c", sig_x.c.data, sig.c.data); hw::ledger::check32("generate_tx_proof", "r", sig_x.r.data, sig.r.data); |