Replace hardcoded value with existing constant of same value

This was likely the intent.
pull/95/head
warptangent 9 years ago
parent f37ee2f304
commit 5680604437
No known key found for this signature in database
GPG Key ID: 0E490BEBFBE4E92D

@ -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;
}

Loading…
Cancel
Save