fixed copy/paste rot with transaction_type enum

This commit is contained in:
Some Random Crypto Guy
2024-11-01 09:47:13 +00:00
parent c971c9846b
commit 96d7f81fe6

View File

@@ -226,7 +226,7 @@ namespace cryptonote
if (type != cryptonote::salvium_transaction_type::PROTOCOL) {
VARINT_FIELD(amount_burnt)
if (type != cryptonote::salvium_transaction_type::MINER) {
if (type == cryptonote::transaction_type::TRANSFER && version >= TRANSACTION_VERSION_N_OUTS) {
if (type == cryptonote::salvium_transaction_type::TRANSFER && version >= TRANSACTION_VERSION_N_OUTS) {
FIELD(return_address_list)
FIELD(return_address_change_mask)
} else {