Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: make getPeerId return the target peer id from relay addrs #325

Merged
merged 3 commits into from
Jul 28, 2023

Commits on May 11, 2023

  1. fix: make getPeerId return the target peer id from relay addresses

    If a p2p-circuit address doesn't contain the `/p2p/QmFoo` tuple for
    the target peer, `getPeerId` returns the peer id of the relay which
    is not what you'd expect.
    
    The fix here is for relay addresses, to return the peer id of the
    target and never the relay.
    
    Fixes #319
    achingbrain committed May 11, 2023
    Configuration menu
    Copy the full SHA
    72831c1 View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2023

  1. Configuration menu
    Copy the full SHA
    d44d90a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b76dd5d View commit details
    Browse the repository at this point in the history