device: fix ledger requesting secret keys export twice

This commit is contained in:
xiphon 2019-08-20 11:29:25 +00:00
parent 1bb4ae3b5e
commit 26f7a26ee3
1 changed files with 1 additions and 1 deletions

View File

@ -416,10 +416,10 @@ namespace hw {
#ifdef DEBUG_HWDEVICE #ifdef DEBUG_HWDEVICE
cryptonote::account_public_address pubkey; cryptonote::account_public_address pubkey;
this->get_public_address(pubkey); this->get_public_address(pubkey);
#endif
crypto::secret_key vkey; crypto::secret_key vkey;
crypto::secret_key skey; crypto::secret_key skey;
this->get_secret_keys(vkey,skey); this->get_secret_keys(vkey,skey);
#endif
return true; return true;
} }