make sure the atlasdb and subdomaindb are preserved on fastsync

This commit is contained in:
Jude Nelson
2018-01-30 17:43:35 -05:00
parent d8e769577c
commit db95a49021

View File

@@ -64,7 +64,7 @@ def restore( working_dir, snapshot_path, restore_dir, pubkeys, num_required ):
return False
# database must be identical
db_filenames = ['blockstack-server.db', 'blockstack-server.snapshots']
db_filenames = ['blockstack-server.db', 'blockstack-server.snapshots', 'atlas.db', 'subdomains.db']
src_paths = [os.path.join(working_dir, fn) for fn in db_filenames]
backup_paths = [os.path.join(restore_dir, fn) for fn in db_filenames]