aboutsummaryrefslogtreecommitdiff
path: root/src/rpc
diff options
context:
space:
mode:
authortobtoht <tob@featherwallet.org>2026-05-15 11:31:46 +0000
committertobtoht <tob@featherwallet.org>2026-05-15 11:31:46 +0000
commit86f0ed6a89e4c9747f035896ffc218dc73672134 (patch)
treea3660cf57ff03645c87091114bed8a3d63b13974 /src/rpc
parent8aed0d18d013ebea98da80308c58c56c59149a2d (diff)
parent9b46f84008ff807211f5ebb5f480e0610c5f54b9 (diff)
downloadmonzero-core-86f0ed6a89e4c9747f035896ffc218dc73672134.tar.gz
monzero-core-86f0ed6a89e4c9747f035896ffc218dc73672134.tar.xz
monzero-core-86f0ed6a89e4c9747f035896ffc218dc73672134.zip
Merge pull request #10535
9b46f84 zmq: switch to RapidJSON iterative parsing (selsta)
Diffstat (limited to 'src/rpc')
-rw-r--r--src/rpc/message.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/message.cpp b/src/rpc/message.cpp
index 005c40ea2..bd47441dc 100644
--- a/src/rpc/message.cpp
+++ b/src/rpc/message.cpp
@@ -80,7 +80,7 @@ FullMessage::FullMessage(std::string&& json_string, bool request)
{
/* Insitu parsing does not copy data from `contents` to DOM,
accelerating string heavy content. */
- doc.ParseInsitu(std::addressof(contents[0]));
+ doc.ParseInsitu<rapidjson::kParseIterativeFlag>(std::addressof(contents[0]));
if (doc.HasParseError() || !doc.IsObject())
{
throw cryptonote::json::PARSE_FAIL();