diff options
| author | stoffu <stoffu@protonmail.ch> | 2018-03-05 17:02:17 +0900 |
|---|---|---|
| committer | stoffu <stoffu@protonmail.ch> | 2018-03-14 21:00:16 +0900 |
| commit | 8705beaf51c12d7eab5f56f615ec529a2a8efc27 (patch) | |
| tree | dc783650bd3ffe9b7baef0ae9ab4435dc1dc69a8 /src/cryptonote_basic | |
| parent | 27a196b1268718dbc41e308c93b35c58f2da2eb4 (diff) | |
| download | monzero-core-8705beaf51c12d7eab5f56f615ec529a2a8efc27.tar.gz monzero-core-8705beaf51c12d7eab5f56f615ec529a2a8efc27.tar.xz monzero-core-8705beaf51c12d7eab5f56f615ec529a2a8efc27.zip | |
keypair::generate: always require hw::device to avoid possible mistake
Diffstat (limited to 'src/cryptonote_basic')
| -rw-r--r-- | src/cryptonote_basic/cryptonote_basic.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/cryptonote_basic/cryptonote_basic.h b/src/cryptonote_basic/cryptonote_basic.h index 12124ebf5..d4558ef7b 100644 --- a/src/cryptonote_basic/cryptonote_basic.h +++ b/src/cryptonote_basic/cryptonote_basic.h @@ -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; |
