fix: update CIDFromHash call
This commit is contained in:
parent
d0da02184b
commit
e9baacd55e
|
@ -237,7 +237,7 @@ func (cid *CID) DecodeMsgpack(dec *msgpack.Decoder) error {
|
|||
}
|
||||
|
||||
func CIDFromRegistryPublicKey(pubkey interface{}) (*CID, error) {
|
||||
return CIDFromHash(pubkey, 0, types.CIDTypeResolver)
|
||||
return CIDFromHash(pubkey, 0, types.CIDTypeResolver, types.HashTypeEd25519)
|
||||
}
|
||||
|
||||
func decodeMsgpackCID(cid interface{}, dec *msgpack.Decoder) error {
|
||||
|
|
Loading…
Reference in New Issue