mirror of
https://github.com/logos-messaging/js-waku.git
synced 2026-01-09 17:23:11 +00:00
improve var name
This commit is contained in:
parent
f4a2778e02
commit
d7919e8c9b
@ -87,9 +87,11 @@ export class PeerDiscoveryDns
|
||||
};
|
||||
|
||||
let isPeerChanged = false;
|
||||
const isPeerExists = await this._components.peerStore.has(peerInfo.id);
|
||||
const isPeerAlreadyInPeerStore = await this._components.peerStore.has(
|
||||
peerInfo.id
|
||||
);
|
||||
|
||||
if (isPeerExists) {
|
||||
if (isPeerAlreadyInPeerStore) {
|
||||
const peer = await this._components.peerStore.get(peerInfo.id);
|
||||
const hasBootstrapTag = peer.tags.has(DEFAULT_BOOTSTRAP_TAG_NAME);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user