mirror of
https://git.wownero.com/wownero/onion-wownero-blockchain-explorer.git
synced 2024-08-15 00:33:12 +00:00
Use custom current blockchain height function
This commit is contained in:
parent
a3af1bfa0f
commit
4b32f7e943
1 changed files with 2 additions and 2 deletions
|
@ -725,7 +725,7 @@ namespace xmreg {
|
||||||
//cout << "_blk_height: " << _blk_height << endl;
|
//cout << "_blk_height: " << _blk_height << endl;
|
||||||
|
|
||||||
uint64_t current_blockchain_height
|
uint64_t current_blockchain_height
|
||||||
= core_storage->get_current_blockchain_height();
|
= xmreg::MyLMDB::get_blockchain_height(mcore->get_blkchain_path()) - 1;
|
||||||
|
|
||||||
if (_blk_height > current_blockchain_height)
|
if (_blk_height > current_blockchain_height)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue