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(codecs): coerce cid.Undef to null in dag{json,cbor} output #433

Merged
merged 1 commit into from
Jun 1, 2022

Commits on Jun 1, 2022

  1. fix(codecs): coerce cid.Undef to null in dag{json,cbor} output

    Otherwise we end up with invalid output.
    
    dag-cbor: 0xd82a4100
    
      d8 2a                                           #   tag(42)
        41                                            #     bytes(1)
          00                                          #       "\x00"
    
    dag-json: {"/":"b"}
    
    Fixes: #246
    rvagg committed Jun 1, 2022
    Configuration menu
    Copy the full SHA
    eb767ed View commit details
    Browse the repository at this point in the history