Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
duniter
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nodes
typescript
duniter
Commits
086ec175
Commit
086ec175
authored
8 years ago
by
Cédric Moreau
Browse files
Options
Downloads
Patches
Plain Diff
[fix]
#811
Wrong database fix for nodes which were forking
parent
2e8afb9f
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
app/lib/dal/sqliteDAL/MetaDAL.js
+1
-1
1 addition, 1 deletion
app/lib/dal/sqliteDAL/MetaDAL.js
with
1 addition
and
1 deletion
app/lib/dal/sqliteDAL/MetaDAL.js
+
1
−
1
View file @
086ec175
...
@@ -119,7 +119,7 @@ function MetaDAL(driver) {
...
@@ -119,7 +119,7 @@ function MetaDAL(driver) {
17
:
()
=>
co
(
function
*
()
{
17
:
()
=>
co
(
function
*
()
{
let
blockDAL
=
new
(
require
(
'
./BlockDAL
'
))(
driver
);
let
blockDAL
=
new
(
require
(
'
./BlockDAL
'
))(
driver
);
let
sindexDAL
=
new
(
require
(
'
./index/SIndexDAL
'
))(
driver
);
let
sindexDAL
=
new
(
require
(
'
./index/SIndexDAL
'
))(
driver
);
const
blocks
=
yield
blockDAL
.
sqlListAll
(
);
const
blocks
=
yield
blockDAL
.
query
(
'
SELECT * FROM block WHERE NOT fork
'
);
const
Block
=
require
(
'
../../../lib/entity/block
'
);
const
Block
=
require
(
'
../../../lib/entity/block
'
);
const
Identity
=
require
(
'
../../../lib/entity/identity
'
);
const
Identity
=
require
(
'
../../../lib/entity/identity
'
);
const
amountsPerKey
=
{};
const
amountsPerKey
=
{};
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment