mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
nudge estimate height
This commit is contained in:
parent
26b8602a03
commit
c8b4665370
1 changed files with 1 additions and 1 deletions
|
@ -12586,7 +12586,7 @@ uint64_t wallet2::get_daemon_blockchain_target_height(string &err)
|
||||||
|
|
||||||
uint64_t wallet2::get_approximate_blockchain_height() const
|
uint64_t wallet2::get_approximate_blockchain_height() const
|
||||||
{
|
{
|
||||||
uint64_t approx_blockchain_height = m_nettype == TESTNET ? 0 : (time(NULL) - 1522624244)/311;
|
uint64_t approx_blockchain_height = m_nettype == TESTNET ? 0 : (time(NULL) - 1522624244)/309;
|
||||||
LOG_PRINT_L2("Calculated blockchain height: " << approx_blockchain_height);
|
LOG_PRINT_L2("Calculated blockchain height: " << approx_blockchain_height);
|
||||||
return approx_blockchain_height;
|
return approx_blockchain_height;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue