From 96d7f81fe6b56b020ae2111ac42c1c7d1d074225 Mon Sep 17 00:00:00 2001 From: Some Random Crypto Guy Date: Fri, 1 Nov 2024 09:47:13 +0000 Subject: [PATCH] fixed copy/paste rot with transaction_type enum --- src/cryptonote_core/cryptonote_basic.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cryptonote_core/cryptonote_basic.h b/src/cryptonote_core/cryptonote_basic.h index 5f1fe95..b53a9ba 100644 --- a/src/cryptonote_core/cryptonote_basic.h +++ b/src/cryptonote_core/cryptonote_basic.h @@ -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 {