aboutsummaryrefslogtreecommitdiff
path: root/src/device/device_ledger.cpp
diff options
context:
space:
mode:
authorxiphon <xiphon@protonmail.com>2019-08-20 11:29:25 +0000
committerxiphon <xiphon@protonmail.com>2019-08-20 16:08:09 +0000
commit26f7a26ee3f53008b2b49a760464199d2631e2a8 (patch)
treef9848ac4e5d1c9c67000c4acea4fac9eef86b5bf /src/device/device_ledger.cpp
parentMerge pull request #5779 (diff)
downloadmonero-26f7a26ee3f53008b2b49a760464199d2631e2a8.tar.xz
device: fix ledger requesting secret keys export twice
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 eba633da8..c8d01fd82 100644
--- a/src/device/device_ledger.cpp
+++ b/src/device/device_ledger.cpp
@@ -416,10 +416,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;
}