diff --git a/src/lib/data_structures/publication_tree.ts b/src/lib/data_structures/publication_tree.ts index de2c04c..34ab43a 100644 --- a/src/lib/data_structures/publication_tree.ts +++ b/src/lib/data_structures/publication_tree.ts @@ -348,7 +348,6 @@ export class PublicationTree implements AsyncIterable { const event = await this.getEvent(this.#cursor.target!.address); return { done: false, value: event }; } - this.#cursor.tryMoveToParent(); } while (this.#cursor.tryMoveToParent()); // If we get to this point, we're at the root node (can't move up any more).