From f48f1f94678aecc758c472afd395a9461d8d35a5 Mon Sep 17 00:00:00 2001 From: buttercat1791 Date: Sat, 10 May 2025 10:19:01 -0500 Subject: [PATCH] Remove redundant call to `tryMoveToParent()` --- src/lib/data_structures/publication_tree.ts | 1 - 1 file changed, 1 deletion(-) 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).