aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/daemon_messages.cpp
diff options
context:
space:
mode:
authortobtoht <tob@featherwallet.org>2025-07-10 17:32:31 +0000
committertobtoht <tob@featherwallet.org>2025-07-10 17:32:31 +0000
commit3e218c2021a8346e8adb87baaadfb7261ae1477a (patch)
treeec15c69393fbf7919b50e99cc22fcbd253a1f391 /src/rpc/daemon_messages.cpp
parent0b739fdf5857b70b1c79675bc992b9f9c66f8216 (diff)
parent9002681c1ef192bbdddcb1c5f49eac1b647af207 (diff)
downloadmonzero-core-3e218c2021a8346e8adb87baaadfb7261ae1477a.tar.gz
monzero-core-3e218c2021a8346e8adb87baaadfb7261ae1477a.tar.xz
monzero-core-3e218c2021a8346e8adb87baaadfb7261ae1477a.zip
Merge pull request #9958
9002681 Add new dynamic fees to ZMQ (Lee Clagett)
Diffstat (limited to 'src/rpc/daemon_messages.cpp')
-rw-r--r--src/rpc/daemon_messages.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rpc/daemon_messages.cpp b/src/rpc/daemon_messages.cpp
index 090a566c7..5d1c75d5a 100644
--- a/src/rpc/daemon_messages.cpp
+++ b/src/rpc/daemon_messages.cpp
@@ -753,6 +753,7 @@ void GetFeeEstimate::Request::fromJson(const rapidjson::Value& val)
void GetFeeEstimate::Response::doToJson(rapidjson::Writer<epee::byte_stream>& dest) const
{
+ INSERT_INTO_JSON_OBJECT(dest, fees, fees);
INSERT_INTO_JSON_OBJECT(dest, estimated_base_fee, estimated_base_fee);
INSERT_INTO_JSON_OBJECT(dest, fee_mask, fee_mask);
INSERT_INTO_JSON_OBJECT(dest, size_scale, size_scale);
@@ -766,6 +767,7 @@ void GetFeeEstimate::Response::fromJson(const rapidjson::Value& val)
throw json::WRONG_TYPE("json object");
}
+ GET_FROM_JSON_OBJECT(val, fees, fees);
GET_FROM_JSON_OBJECT(val, estimated_base_fee, estimated_base_fee);
GET_FROM_JSON_OBJECT(val, fee_mask, fee_mask);
GET_FROM_JSON_OBJECT(val, size_scale, size_scale);