mirror of
https://github.com/monero-project/monero.git
synced 2025-08-14 04:55:32 -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
|
@ -78,7 +78,7 @@ namespace cryptonote
|
|||
tx.vout.clear();
|
||||
tx.extra.clear();
|
||||
|
||||
keypair txkey = keypair::generate();
|
||||
keypair txkey = keypair::generate(hw::get_device("default"));
|
||||
add_tx_pub_key_to_extra(tx, txkey.pub);
|
||||
if(!extra_nonce.empty())
|
||||
if(!add_extra_nonce_to_tx_extra(tx.extra, extra_nonce))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue