adapt startup message when switching from light to full node
This commit is contained in:
parent
5914869a50
commit
accf1a5aa0
2
app.js
2
app.js
|
@ -192,7 +192,7 @@ const initLightNode = async () => {
|
|||
// check if was previously a light node
|
||||
const wasLightNode = await database.wasLightNodeBefore();
|
||||
if (wasLightNode) {
|
||||
console.log('Can\'t switch from a node, which was previously a light node, to a full node. Please restore your database from a full node dump.');
|
||||
console.log('Looks like your database belongs to a light node. Did you forget to set lightNode.enabled = true in the config.json? Switching from a light node to a full node is not possible - you would have to do a full database restore in such a case.');
|
||||
await gracefulShutdown();
|
||||
process.exit();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue