Commit 16b766b1 authored by Cédric Moreau's avatar Cédric Moreau
Browse files

[fix] #1316 /blockchain/with/ud was broken

parent 5ea83359
......@@ -336,6 +336,8 @@ export class GlobalIndexStream extends Duplex {
return block
}))
await DuniterBlockchain.pushStatsForBlocks(blocks, this.dal)
if (this.conf.storage && this.conf.storage.transactions) {
await Promise.all(blocks.map(block => this.dal.saveTxsInFiles(block.transactions, block.number, block.medianTime)))
}
......
Markdown is supported
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