Fix ensureLoaded pubkey guard

This commit is contained in:
thePR0M3TH3AN committed 2026-01-28 16:57:24 -05:00
1 parent 2a5fa3ef90
commit 10d628fe35
1 file changed
+3 -3
+3 -3
View File
@@ -718,12 +718,12 @@ class UserBlockListManager {
}
async ensureLoaded(userPubkey) {
if (this.loaded) {
const normalized = normalizeHex(userPubkey);
if (!normalized) {
return;
}
const normalized = normalizeHex(userPubkey);
if (!normalized) {
if (this.loaded && this.activePubkey === normalized) {
return;
}