mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00: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
|
@ -521,7 +521,7 @@ bool construct_miner_tx_manually(size_t height, uint64_t already_generated_coins
|
|||
keypair* p_txkey/* = 0*/)
|
||||
{
|
||||
keypair txkey;
|
||||
txkey = keypair::generate();
|
||||
txkey = keypair::generate(hw::get_device("default"));
|
||||
add_tx_pub_key_to_extra(tx, txkey.pub);
|
||||
|
||||
if (0 != p_txkey)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue