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: persist CIDv1 multicodec #37

Merged

Commits on Nov 15, 2019

  1. fix: persist CIDv1 multicodec

    This change avoids creating new CID object if it is already v1
    and persists non-dag-pb multicodec if v1 is passed in text form
    as specified in
    https://github.com/libp2p/specs/blob/master/RFC/0001-text-peerid-cid.md
    
    License: MIT
    Signed-off-by: Marcin Rataj <lidel@lidel.org>
    lidel committed Nov 15, 2019
    Configuration menu
    Copy the full SHA
    33312a3 View commit details
    Browse the repository at this point in the history