aboutsummaryrefslogtreecommitdiff
path: root/src/device/device_ledger.cpp
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2019-09-08 19:42:49 -0500
committerluigi1111 <luigi1111w@gmail.com>2019-09-08 19:42:49 -0500
commit4ef3848423de2664b41272b9d915c11a372f23bb (patch)
tree62d6100f17896cc141c646587315be20faa96806 /src/device/device_ledger.cpp
parentMerge pull request #5833 (diff)
parentdevice: fix ledger requesting secret keys export twice (diff)
downloadmonero-4ef3848423de2664b41272b9d915c11a372f23bb.tar.xz
Merge pull request #5835
26f7a26 device: fix ledger requesting secret keys export twice (xiphon)
Diffstat (limited to 'src/device/device_ledger.cpp')
-rw-r--r--src/device/device_ledger.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device/device_ledger.cpp b/src/device/device_ledger.cpp
index 2d91b881b..15fe560d1 100644
--- a/src/device/device_ledger.cpp
+++ b/src/device/device_ledger.cpp
@@ -418,10 +418,10 @@ namespace hw {
#ifdef DEBUG_HWDEVICE
cryptonote::account_public_address pubkey;
this->get_public_address(pubkey);
- #endif
crypto::secret_key vkey;
crypto::secret_key skey;
this->get_secret_keys(vkey,skey);
+ #endif
return true;
}