From 9b57fe3eaec7d22fab1235484e77ac1bfbca6c0c Mon Sep 17 00:00:00 2001 From: Some Random Crypto Guy Date: Wed, 26 Nov 2025 09:56:13 +0000 Subject: [PATCH] fixed lambda func with boost::optional --- src/wallet/wallet2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index 3ca1f9e..54011b0 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -13220,7 +13220,7 @@ std::string wallet2::get_tx_proof(const cryptonote::transaction &tx, const crypt crypto::signature &sig) { 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 { hwdev.generate_tx_proof(prefix_hash, R, A, B, D, r, sig); }