mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
Replace hardcoded value with existing constant of same value
This was likely the intent.
This commit is contained in:
parent
f37ee2f304
commit
5680604437
1 changed files with 1 additions and 1 deletions
|
@ -284,7 +284,7 @@ bool BlockchainLMDB::need_resize()
|
||||||
|
|
||||||
uint64_t size_used = mst.ms_psize * mei.me_last_pgno;
|
uint64_t size_used = mst.ms_psize * mei.me_last_pgno;
|
||||||
|
|
||||||
if ((double)size_used / mei.me_mapsize > 0.8)
|
if ((double)size_used / mei.me_mapsize > RESIZE_PERCENT)
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue