diff options
author | luigi1111 <luigi1111w@gmail.com> | 2023-03-18 18:18:13 -0400 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2023-03-18 18:18:13 -0400 |
commit | 76dd14dfb1c948497748ab1ef74d182973f67219 (patch) | |
tree | 75b40b66fb7bafadf903d292975de56ba369c22b /src/rpc/core_rpc_server.cpp | |
parent | Merge pull request #8707 (diff) | |
parent | Add a size limit for tx_extra in tx pool (diff) | |
download | monero-76dd14dfb1c948497748ab1ef74d182973f67219.tar.xz |
Merge pull request #8733
3771641 Add a size limit for tx_extra in tx pool (tevador)
Diffstat (limited to 'src/rpc/core_rpc_server.cpp')
-rw-r--r-- | src/rpc/core_rpc_server.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rpc/core_rpc_server.cpp b/src/rpc/core_rpc_server.cpp index 56b8d1aa4..38c382a4c 100644 --- a/src/rpc/core_rpc_server.cpp +++ b/src/rpc/core_rpc_server.cpp @@ -1348,6 +1348,8 @@ namespace cryptonote add_reason(reason, "fee too low"); if ((res.too_few_outputs = tvc.m_too_few_outputs)) add_reason(reason, "too few outputs"); + if ((res.tx_extra_too_big = tvc.m_tx_extra_too_big)) + add_reason(reason, "tx-extra too big"); const std::string punctuation = reason.empty() ? "" : ": "; if (tvc.m_verifivation_failed) { |