fix: do not add observed address received from peers (#882)

This commit is contained in:
Alex Potsides 2021-02-01 17:32:57 +00:00 committed by GitHub
parent 8d3b61710a
commit a36b2112aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -202,9 +202,9 @@ class IdentifyService {
this.peerStore.protoBook.set(id, protocols)
this.peerStore.metadataBook.set(id, 'AgentVersion', uint8ArrayFromString(message.agentVersion))
// TODO: Score our observed addr
// TODO: Add and score our observed addr
log('received observed address of %s', observedAddr)
this.addressManager.addObservedAddr(observedAddr)
// this.addressManager.addObservedAddr(observedAddr)
}
/**