Merge pull request #9384

88afcdb Fix ZMQ DaemonInfo: (Lee *!* Clagett)
This commit is contained in:
luigi1111
2024-08-13 12:15:28 -04:00
4 changed files with 87 additions and 0 deletions
+2
View File
@@ -520,6 +520,8 @@ namespace rpc
res.info.target_height = res.info.height;
}
m_core.get_blockchain_top(res.info.top_block_height, res.info.top_block_hash);
auto& chain = m_core.get_blockchain_storage();
res.info.wide_difficulty = chain.get_difficulty_for_next_block();