Fixed pre-scanning for STAKE TXs

This commit is contained in:
Some Random Crypto Guy
2025-07-14 13:18:54 +01:00
parent e3a03e9d98
commit 7dd5450419
6 changed files with 33 additions and 23 deletions
+1 -1
View File
@@ -630,7 +630,7 @@ std::vector<carrot::CarrotTransactionProposalV1> make_carrot_transaction_proposa
const bool is_selfsend_dest = build_payment_proposals(normal_payment_proposals,
selfsend_payment_proposals,
de,
w.get_account().get_subaddress_map());
w.get_account().get_subaddress_map_cn());
CHECK_AND_ASSERT_THROW_MES((is_selfsend_dest && selfsend_payment_proposals.size() == i+1)
|| (!is_selfsend_dest && normal_payment_proposals.size() == i+1),
__func__ << ": BUG in build_payment_proposals: incorrect count for payment proposal lists");