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
c6a2719d
Commit
c6a2719d
authored
Jul 25, 2018
by
Cédric Moreau
Browse files
[fix] bma: /wot/lookup was broken
parent
f6a2947a
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/lib/dal/fileDAL.ts
View file @
c6a2719d
...
...
@@ -807,7 +807,7 @@ export class FileDAL {
async
cindexEntry2DBCert
(
entry
:
CindexEntry
):
Promise
<
DBCert
>
{
const
idty
=
await
this
.
getWrittenIdtyByPubkeyForHash
(
entry
.
receiver
)
const
wbt
=
entry
.
written_on
.
split
(
'
-
'
)
const
block
=
(
await
this
.
blockDAL
.
getBlock
(
entry
.
created_on
))
as
DBBlock
const
block
=
(
await
this
.
getBlock
(
entry
.
created_on
))
as
DBBlock
return
{
issuers
:
[
entry
.
issuer
],
linked
:
true
,
...
...
@@ -1315,7 +1315,9 @@ export class FileDAL {
}
async
resetPeers
()
{
this
.
peerDAL
.
removeAll
();
await
this
.
peerDAL
.
removeAll
();
await
this
.
loki
.
commitData
();
await
this
.
loki
.
flushAndTrimData
();
return
await
this
.
close
()
}
...
...
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