restore sync

This commit is contained in:
Alexey Kasyanchuk 2018-04-17 22:59:05 +03:00
parent c8e37ae4b2
commit 675e133e1f

View File

@ -17,6 +17,7 @@ module.exports = class P2PStore {
this.id = rows[0].mx + 1; this.id = rows[0].mx + 1;
console.log('store db index', this.id) console.log('store db index', this.id)
this.sync()
}) })
this.p2p.on('dbStore', (record, callback) => { this.p2p.on('dbStore', (record, callback) => {