Merge pull request #5835

26f7a26 device: fix ledger requesting secret keys export twice (xiphon)
This commit is contained in:
luigi1111 2019-09-08 19:42:49 -05:00
commit 4ef3848423
No known key found for this signature in database
GPG key ID: F4ACA0183641E010

View file

@ -418,10 +418,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;
} }