diff --git a/test/record-sync.test.js b/test/record-sync.test.js index 22a6ed0..b615fb7 100644 --- a/test/record-sync.test.js +++ b/test/record-sync.test.js @@ -99,7 +99,7 @@ test('sync goal=record with ghostSpan=2', async (t) => { assert.ok(erasables.has(moot.id)) for (const msgID of deletables) { - await p(alice.db.ghosts.add)({ msgID, tangleID: moot.id, max: SPAN }) + await p(alice.db.ghosts.add)({ msgID, tangleID: moot.id, span: SPAN }) await p(alice.db.del)(msgID) } for (const msgID of erasables) {