From 07c3e295b2d09d2d6c3ac6b5b93ad2ea80698452 Mon Sep 17 00:00:00 2001 From: Andre Staltz Date: Tue, 5 Mar 2024 17:02:05 +0200 Subject: [PATCH] isValidSetMsg should not check for accountID --- lib/index.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/index.js b/lib/index.js index 958318c..1ac8e10 100644 --- a/lib/index.js +++ b/lib/index.js @@ -181,7 +181,6 @@ function initSet(peer, config) { function isValidSetMsg(msg) { if (!msg) return false if (!msg.data) return false - if (msg.metadata.account !== loadedAccountID) return false if (!msg.metadata.domain.startsWith(PREFIX)) return false if (!Array.isArray(msg.data.add)) return false if (!Array.isArray(msg.data.del)) return false