aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2024-03-08 10:43:20 -0500
committerluigi1111 <luigi1111w@gmail.com>2024-03-08 10:43:20 -0500
commitc23951f3398598962a014968837ca8289d143ef5 (patch)
tree6a15e97a4ab21a6c01fb8ba1c52cba55ebde5bc5
parentMerge pull request #9214 (diff)
parenttx_memory_pool: make double spends a no-drop offense (diff)
downloadmonero-c23951f3398598962a014968837ca8289d143ef5.tar.xz
Merge pull request #9218
7815023 tx_memory_pool: make double spends a no-drop offense (jeffro256)
-rw-r--r--src/cryptonote_core/tx_pool.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cryptonote_core/tx_pool.cpp b/src/cryptonote_core/tx_pool.cpp
index d86a9f5f9..cd6b4bec5 100644
--- a/src/cryptonote_core/tx_pool.cpp
+++ b/src/cryptonote_core/tx_pool.cpp
@@ -246,6 +246,7 @@ namespace cryptonote
LOG_PRINT_L1("Transaction with id= "<< id << " used already spent key images");
tvc.m_verifivation_failed = true;
tvc.m_double_spend = true;
+ tvc.m_no_drop_offense = true;
return false;
}
}