The code was changed in https://github.com/multiformats/multicodec/pull/16 but that change was never reflected in https://github.com/multiformats/multiaddr.