diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-08-12 19:19:25 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-08-12 20:32:23 +0100 |
commit | 7e4e0021f422eec55fb0417b1d6e86ceddc1934f (patch) | |
tree | 62d2516871b61424612f8b6f5bd5dc52d3345a42 /src/rpc/core_rpc_server.cpp | |
parent | Merge pull request #955 (diff) | |
download | monero-7e4e0021f422eec55fb0417b1d6e86ceddc1934f.tar.xz |
daemon: print time to next fork
Diffstat (limited to 'src/rpc/core_rpc_server.cpp')
-rw-r--r-- | src/rpc/core_rpc_server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/core_rpc_server.cpp b/src/rpc/core_rpc_server.cpp index 9cd1893cf..e6fc11060 100644 --- a/src/rpc/core_rpc_server.cpp +++ b/src/rpc/core_rpc_server.cpp @@ -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(); |