forked from snxraven/p2ns
fixes for master
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user