mirror of
https://github.com/monero-project/monero.git
synced 2025-12-29 22:20:42 -08:00
Merge pull request #5211
c9b13fbbtests/trezor: HF9 and HF10 tests (Dusan Klinec)a1fd1d49device/trezor: HF10 support added, wallet::API (Dusan Klinec)d74d26f2crypto: hmac_keccak added (Dusan Klinec)
This commit is contained in:
@@ -282,6 +282,11 @@ namespace cryptonote
|
||||
//---------------------------------------------------------------
|
||||
bool generate_key_image_helper_precomp(const account_keys& ack, const crypto::public_key& out_key, const crypto::key_derivation& recv_derivation, size_t real_output_index, const subaddress_index& received_index, keypair& in_ephemeral, crypto::key_image& ki, hw::device &hwdev)
|
||||
{
|
||||
if (hwdev.compute_key_image(ack, out_key, recv_derivation, real_output_index, received_index, in_ephemeral, ki))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
if (ack.m_spend_secret_key == crypto::null_skey)
|
||||
{
|
||||
// for watch-only wallet, simply copy the known output pubkey
|
||||
|
||||
Reference in New Issue
Block a user