Fix spend public key for new check in upstream construct_tx (#15)

(cherry picked from commit 2ab30fbdb4be3bd182259853c120c7b92f819184)
This commit is contained in:
Lee *!* Clagett
2026-10-05 20:46:55 -04:00
committed by such-gitea
parent 87d2d2fc57
commit c107fd2567
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -1540,7 +1540,7 @@ namespace lwsf { namespace internal { namespace backend
cryptonote::account_keys wallet::get_primary_keys() const
{
return {
{primary.view.pub, primary.spend.pub}, primary.spend.sec, primary.view.sec
{primary.spend.pub, primary.view.pub}, primary.spend.sec, primary.view.sec
};
}
+1
View File
@@ -1576,6 +1576,7 @@ namespace lwsf { namespace internal
std::unordered_map<crypto::public_key, cryptonote::subaddress_index> subs;
std::vector<cryptonote::tx_source_entry> sources;
subs.emplace(change_account.m_spend_public_key, cryptonote::subaddress_index{subaddr_account, 0});
for (const auto& spend : spending)
{
const auto& source = spend.second->receives.at(spend.first);