mirror of
https://github.com/monero-project/monero.git
synced 2025-12-10 06:40:55 -08:00
Replace hardcoded value with existing constant of same value
This was likely the intent.
This commit is contained in:
@@ -284,7 +284,7 @@ bool BlockchainLMDB::need_resize()
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user