Commit 74a225eb authored by Cédric Moreau's avatar Cédric Moreau
Browse files

[fix] type errors

parent b8d4e72a
...@@ -35,7 +35,7 @@ module.exports = { ...@@ -35,7 +35,7 @@ module.exports = {
// Transactions storage // Transactions storage
if (program.storeTxs) { if (program.storeTxs) {
if (!conf.storage) { if (!conf.storage) {
conf.storage = { transactions: true } conf.storage = { transactions: true, wotwizard: false }
} }
else { else {
conf.storage.transactions = true conf.storage.transactions = true
...@@ -48,7 +48,8 @@ module.exports = { ...@@ -48,7 +48,8 @@ module.exports = {
conf.switchOnHeadAdvance = CommonConstants.SWITCH_ON_BRANCH_AHEAD_BY_X_BLOCKS conf.switchOnHeadAdvance = CommonConstants.SWITCH_ON_BRANCH_AHEAD_BY_X_BLOCKS
if (!conf.storage) { if (!conf.storage) {
conf.storage = { conf.storage = {
transactions: false transactions: false,
wotwizard: false
} }
} }
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment