fix global objects usage during replay
This commit is contained in:
parent
4f54b13074
commit
d99ef0c1f9
1 changed files with 1 additions and 1 deletions
|
|
@ -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 )
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue