fix: update CIDFromHash call

This commit is contained in:
Derrick Hammer 2024-01-17 11:29:54 -05:00
parent d0da02184b
commit e9baacd55e
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -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 {