Skip to content

Commit

Permalink
fix: do not add observed address received from peers (#882)
Browse files Browse the repository at this point in the history
  • Loading branch information
achingbrain authored Feb 1, 2021
1 parent 8d3b617 commit a36b211
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/identify/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

/**
Expand Down

0 comments on commit a36b211

Please sign in to comment.