mirror of
https://github.com/monero-project/monero.git
synced 2025-06-07 22:02:44 -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
|
@ -429,12 +429,6 @@ namespace cryptonote
|
|||
crypto::public_key pub;
|
||||
crypto::secret_key sec;
|
||||
|
||||
static inline keypair generate()
|
||||
{
|
||||
keypair k;
|
||||
generate_keys(k.pub, k.sec);
|
||||
return k;
|
||||
}
|
||||
static inline keypair generate(hw::device &hwdev)
|
||||
{
|
||||
keypair k;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue