mirror of
https://github.com/monero-project/monero.git
synced 2025-08-07 11:12:18 -04:00
keypair::generate: always require hw::device to avoid possible mistake
This commit is contained in:
parent
27a196b126
commit
8705beaf51
6 changed files with 6 additions and 12 deletions
|
@ -251,7 +251,7 @@ namespace hw {
|
|||
/* ======================================================================= */
|
||||
|
||||
bool device_default::open_tx(crypto::secret_key &tx_key) {
|
||||
cryptonote::keypair txkey = cryptonote::keypair::generate();
|
||||
cryptonote::keypair txkey = cryptonote::keypair::generate(*this);
|
||||
tx_key = txkey.sec;
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue