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

View file

@ -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;
}