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