diff options
| author | tobtoht <tob@featherwallet.org> | 2025-07-10 17:32:31 +0000 |
|---|---|---|
| committer | tobtoht <tob@featherwallet.org> | 2025-07-10 17:32:31 +0000 |
| commit | 3e218c2021a8346e8adb87baaadfb7261ae1477a (patch) | |
| tree | ec15c69393fbf7919b50e99cc22fcbd253a1f391 /src/rpc/daemon_messages.cpp | |
| parent | 0b739fdf5857b70b1c79675bc992b9f9c66f8216 (diff) | |
| parent | 9002681c1ef192bbdddcb1c5f49eac1b647af207 (diff) | |
| download | monzero-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.cpp | 2 |
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); |
