Skip cleanup so DB is available for debug.

This commit is contained in:
Jonathan Moody 2022-12-06 12:59:11 -05:00
parent c53e76011f
commit 6deeb67585

View file

@ -289,7 +289,8 @@ class SPVNode:
cleanup and self.cleanup() cleanup and self.cleanup()
def cleanup(self): def cleanup(self):
shutil.rmtree(self.data_path, ignore_errors=True) log.error("skipping cleanup of data_path: %s", self.data_path)
#shutil.rmtree(self.data_path, ignore_errors=True)
class LBCDProcess(asyncio.SubprocessProtocol): class LBCDProcess(asyncio.SubprocessProtocol):