mirror of
https://github.com/monero-project/monero.git
synced 2025-12-31 23:16:03 -08:00
daemon: print time to next fork
This commit is contained in:
@@ -1025,7 +1025,7 @@ namespace cryptonote
|
||||
|
||||
#if BLOCKCHAIN_DB == DB_LMDB
|
||||
const Blockchain &blockchain = m_core.get_blockchain_storage();
|
||||
uint8_t version = req.version > 0 ? req.version : blockchain.get_ideal_hard_fork_version();
|
||||
uint8_t version = req.version > 0 ? req.version : blockchain.get_next_hard_fork_version();
|
||||
res.version = blockchain.get_current_hard_fork_version();
|
||||
res.enabled = blockchain.get_hard_fork_voting_info(version, res.window, res.votes, res.threshold, res.earliest_height, res.voting);
|
||||
res.state = blockchain.get_hard_fork_state();
|
||||
|
||||
Reference in New Issue
Block a user