Reset testnet timestamp

release-v0.2.2.0
wowario 6 years ago
parent a2d3bc992d
commit 6fa2c65993
No known key found for this signature in database
GPG Key ID: 24DCBE762DE9C111

@ -9159,7 +9159,7 @@ uint64_t wallet2::get_daemon_blockchain_target_height(string &err)
uint64_t wallet2::get_approximate_blockchain_height() const
{
// time of v8 fork
const time_t fork_time = m_nettype == TESTNET ? 1530634467 : m_nettype == STAGENET ? 1530635153 : 1524622167;
const time_t fork_time = m_nettype == TESTNET ? 1532756009 : m_nettype == STAGENET ? 1530635153 : 1524622167;
// v8 fork block
const uint64_t fork_block = m_nettype == TESTNET ? 10 : m_nettype == STAGENET ? 10 : 6969;
// avg seconds per block

Loading…
Cancel
Save