fixes for master

This commit is contained in:
Raven Scott
2025-12-17 20:54:09 -05:00
parent 00709cb446
commit 4e74ebc1c4
+2 -2
View File
@@ -1214,8 +1214,8 @@ async function main() {
}
// Master node: Send proactive invite to new peers or reconnected peers
if (isMaster && state.dnsPass) {
const pass = state.dnsPass;
if (isMaster && (state.dnsPass || dnsPass)) {
const pass = state.dnsPass || dnsPass;
const isReconnection = isPeerReconnection(peerId);
// Remove from reconnection tracking if this was a reconnection