isValidSetMsg should not check for accountID

This commit is contained in:
Andre Staltz 2024-03-05 17:02:05 +02:00
parent 3accb5e3b0
commit 07c3e295b2
No known key found for this signature in database
GPG Key ID: 9EDE23EA7E8A4890
1 changed files with 0 additions and 1 deletions

View File

@ -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