aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2024-03-08 10:49:17 -0500
committerluigi1111 <luigi1111w@gmail.com>2024-03-08 10:49:17 -0500
commitc225a1f25bc2b89d3f6eebf1c35fc424b2316952 (patch)
tree417fd7f98d12e9b706553dffd88c0a354046f8b1
parentMerge pull request #9220 (diff)
parenttx_memory_pool: make double spends a no-drop offense (diff)
downloadmonero-c225a1f25bc2b89d3f6eebf1c35fc424b2316952.tar.xz
Merge pull request #9224
eeb7c7c 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 36fea56a3..5f058b83d 100644
--- a/src/cryptonote_core/tx_pool.cpp
+++ b/src/cryptonote_core/tx_pool.cpp
@@ -247,6 +247,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;
}
}