From 9002681c1ef192bbdddcb1c5f49eac1b647af207 Mon Sep 17 00:00:00 2001 From: Lee Clagett Date: Fri, 13 Jun 2025 17:10:17 -0400 Subject: Add new dynamic fees to ZMQ --- src/rpc/daemon_messages.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/rpc/daemon_messages.cpp') 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& 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); -- cgit v1.2.3