fixed lambda func with boost::optional

This commit is contained in:
Some Random Crypto Guy
2025-11-26 09:56:13 +00:00
parent 8f60758a3c
commit 9b57fe3eae

View File

@@ -13220,7 +13220,7 @@ std::string wallet2::get_tx_proof(const cryptonote::transaction &tx, const crypt
crypto::signature &sig) crypto::signature &sig)
{ {
if (address.m_is_carrot) { if (address.m_is_carrot) {
hwdev.generate_carrot_tx_proof(prefix_hash, R, A, B, D, r, sig); hwdev.generate_carrot_tx_proof(prefix_hash, R, A, is_subaddress ? B : boost::none, D, r, sig);
} else { } else {
hwdev.generate_tx_proof(prefix_hash, R, A, B, D, r, sig); hwdev.generate_tx_proof(prefix_hash, R, A, B, D, r, sig);
} }