diff --git a/lib/plugin.js b/lib/plugin.js index e0735a4..84a082b 100644 --- a/lib/plugin.js +++ b/lib/plugin.js @@ -48,6 +48,7 @@ class DBTangle extends FeedV1.Tangle { constructor(rootHash, recordsIter) { super(rootHash) for (const rec of recordsIter) { + if (!rec.msg) continue this.add(rec.hash, rec.msg) } }