This commit is contained in:
Raven Scott
2025-12-17 21:03:44 -05:00
parent be2896d008
commit d3b61e9823
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -713,7 +713,7 @@ async function setupP2NS() {
// Initialize corestore with a stable primaryKey derived from our persistent keypair
const primaryKey = crypto.createHash('sha256').update(keypair.secretKey).digest();
const store = new Corestore(config.STORAGE_DIR, { primaryKey });
const store = new Corestore(config.STORAGE_DIR, { primaryKey, unsafe: true });
state.store = store;
logInfo('Main', `Corestore initialized with stable primaryKey`, { storageDir: config.STORAGE_DIR });