From c5ad937cc11d3181b7549db573ac37ec635be96e Mon Sep 17 00:00:00 2001 From: Lee *!* Clagett Date: Mon, 24 Jun 2024 19:57:20 -0400 Subject: Fix ZMQ DaemonInfo: * top_block_hash was never set in handler * wide_difficulty was never sent in JSON * wide_cumulative_difficulty was never sent in JSON --- src/rpc/message_data_structs.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/rpc/message_data_structs.h') diff --git a/src/rpc/message_data_structs.h b/src/rpc/message_data_structs.h index dd9d198ed..7f3b787b6 100644 --- a/src/rpc/message_data_structs.h +++ b/src/rpc/message_data_structs.h @@ -176,6 +176,7 @@ namespace rpc { uint64_t height; uint64_t target_height; + uint64_t top_block_height; cryptonote::difficulty_type wide_difficulty; uint64_t difficulty; uint64_t target; -- cgit v1.2.3