fix global objects usage during replay

This commit is contained in:
gladcow 2019-09-05 09:40:17 +03:00
parent 4f54b13074
commit d99ef0c1f9

View file

@ -179,7 +179,7 @@ void database::wipe(const fc::path& data_dir, bool include_blocks)
{ {
ilog("Wiping database", ("include_blocks", include_blocks)); ilog("Wiping database", ("include_blocks", include_blocks));
if (_opened) { if (_opened) {
close(); close(false);
} }
object_database::wipe(data_dir); object_database::wipe(data_dir);
if( include_blocks ) if( include_blocks )