mirror of
https://github.com/monero-project/monero.git
synced 2026-01-02 07:50:16 -08:00
keypair::generate: always require hw::device to avoid possible mistake
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user