From 419c26adbf1adffac51a5599c6b55164656f0b36 Mon Sep 17 00:00:00 2001 From: somerandomcryptoguy <139346562+somerandomcryptoguy@users.noreply.github.com> Date: Fri, 12 Sep 2025 16:34:02 +0100 Subject: [PATCH] added tx_type setting for payment details - needed for wallet API (#61) Co-authored-by: Some Random Crypto Guy --- src/wallet/wallet2.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index 2ee540dc5..7cea7876a 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -2928,6 +2928,7 @@ void wallet2::process_new_scanned_transaction( payment.m_timestamp = ts; payment.m_coinbase = miner_tx; payment.m_subaddr_index = i.first; + payment.m_tx_type = tx.type; if (pool) { if (emplace_or_replace(m_unconfirmed_payments, payment_id, pool_payment_details{payment, double_spend_seen})) all_same = false;