Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
timothe
duniter
Commits
74a225eb
Commit
74a225eb
authored
Mar 22, 2019
by
Cédric Moreau
Browse files
[fix] type errors
parent
b8d4e72a
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/modules/config.ts
View file @
74a225eb
...
...
@@ -35,7 +35,7 @@ module.exports = {
// Transactions storage
if
(
program
.
storeTxs
)
{
if
(
!
conf
.
storage
)
{
conf
.
storage
=
{
transactions
:
true
}
conf
.
storage
=
{
transactions
:
true
,
wotwizard
:
false
}
}
else
{
conf
.
storage
.
transactions
=
true
...
...
@@ -48,7 +48,8 @@ module.exports = {
conf
.
switchOnHeadAdvance
=
CommonConstants
.
SWITCH_ON_BRANCH_AHEAD_BY_X_BLOCKS
if
(
!
conf
.
storage
)
{
conf
.
storage
=
{
transactions
:
false
transactions
:
false
,
wotwizard
:
false
}
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment