mirror of
https://github.com/monero-project/monero.git
synced 2024-12-28 01:49:25 -05:00
device: fix ledger requesting secret keys export twice
This commit is contained in:
parent
1bb4ae3b5e
commit
26f7a26ee3
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user