fix check_tx_key
This commit is contained in:
@@ -387,6 +387,11 @@ bool try_scan_carrot_enote_external_sender(const CarrotEnoteV1 &enote,
|
|||||||
CarrotEnoteType &enote_type_out,
|
CarrotEnoteType &enote_type_out,
|
||||||
const bool check_pid)
|
const bool check_pid)
|
||||||
{
|
{
|
||||||
|
epee::span<const crypto::public_key> main_address_spend_pubkeys;
|
||||||
|
if (destination.is_subaddress)
|
||||||
|
main_address_spend_pubkeys = {};
|
||||||
|
else
|
||||||
|
main_address_spend_pubkeys = {&destination.address_spend_pubkey, 1};
|
||||||
crypto::public_key recovered_address_spend_pubkey;
|
crypto::public_key recovered_address_spend_pubkey;
|
||||||
payment_id_t recovered_payment_id;
|
payment_id_t recovered_payment_id;
|
||||||
CarrotEnoteType recovered_enote_type;
|
CarrotEnoteType recovered_enote_type;
|
||||||
@@ -395,7 +400,7 @@ bool try_scan_carrot_enote_external_sender(const CarrotEnoteV1 &enote,
|
|||||||
if (!try_scan_carrot_enote_external_normal_checked(enote,
|
if (!try_scan_carrot_enote_external_normal_checked(enote,
|
||||||
encrypted_payment_id,
|
encrypted_payment_id,
|
||||||
s_sender_receiver_unctx,
|
s_sender_receiver_unctx,
|
||||||
{&destination.address_spend_pubkey, 1},
|
main_address_spend_pubkeys,
|
||||||
sender_extension_g_out,
|
sender_extension_g_out,
|
||||||
sender_extension_t_out,
|
sender_extension_t_out,
|
||||||
recovered_address_spend_pubkey,
|
recovered_address_spend_pubkey,
|
||||||
|
|||||||
Reference in New Issue
Block a user