mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-25 15:08:45 +08:00
drop review TODO comment
License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com>
This commit is contained in:
@ -102,7 +102,6 @@ func (v IpnsValidator) getPublicKey(pid peer.ID, entry *pb.IpnsEntry) (ic.PubKey
|
||||
if entry.PubKey != nil {
|
||||
pk, err := ic.UnmarshalPublicKey(entry.PubKey)
|
||||
if err != nil {
|
||||
// TODO: i think this counts as a 'malformed record' and should be discarded
|
||||
log.Debugf("public key in ipns record failed to parse: ", err)
|
||||
return nil, fmt.Errorf("unmarshaling pubkey in record: %s", err)
|
||||
}
|
||||
|
Reference in New Issue
Block a user