aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core/cryptonote_core.cpp
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2023-04-02 20:46:21 -0400
committerluigi1111 <luigi1111w@gmail.com>2023-04-02 20:46:21 -0400
commita371e60a3075a16e82f4489969899d3627116e7b (patch)
treedfa0ed2ccbe2c31ef00c32d3ea2f1be612a94a71 /src/cryptonote_core/cryptonote_core.cpp
parent2f62dd5b782ef83af9810b423522eeeb8c4e5570 (diff)
parent059b975388f346a4243273a75d86c16fd8e6990d (diff)
downloadmonzero-core-a371e60a3075a16e82f4489969899d3627116e7b.tar.gz
monzero-core-a371e60a3075a16e82f4489969899d3627116e7b.tar.xz
monzero-core-a371e60a3075a16e82f4489969899d3627116e7b.zip
Merge pull request #8813
059b975 cryptonote core/protocol: don't drop peers for soft offenses (jeffro256)
Diffstat (limited to 'src/cryptonote_core/cryptonote_core.cpp')
-rw-r--r--src/cryptonote_core/cryptonote_core.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptonote_core/cryptonote_core.cpp b/src/cryptonote_core/cryptonote_core.cpp
index d8c782f78..d2b8dafa7 100644
--- a/src/cryptonote_core/cryptonote_core.cpp
+++ b/src/cryptonote_core/cryptonote_core.cpp
@@ -1099,7 +1099,7 @@ namespace cryptonote
else if(tvc[i].m_verifivation_impossible)
{MERROR_VER("Transaction verification impossible: " << results[i].hash);}
- if(tvc[i].m_added_to_pool)
+ if(tvc[i].m_added_to_pool && results[i].tx.extra.size() <= MAX_TX_EXTRA_SIZE)
{
MDEBUG("tx added: " << results[i].hash);
valid_events = true;