diff --git a/lib/index.js b/lib/index.js index eef3c6e..13d3e3c 100644 --- a/lib/index.js +++ b/lib/index.js @@ -2,7 +2,6 @@ const makeDebug = require('debug') const MsgV4 = require('pzp-db/msg-v4') /** - * @typedef {import('pzp-db').RecPresent} Rec * @typedef {ReturnType} PZPDB * @typedef {ReturnType} PZPGoal * @typedef {import('pzp-goals').GoalDSL} GoalDSL @@ -277,10 +276,6 @@ function initConductor(peer, config) { peer.gc.start(maxBytes) peer.sync.start() - peer.db.onRecordAdded((/** @type {Rec} */ { id: msgID, msg }) => { - peer.sync.start() - }) - cb() }) }