@cryptotaxi247 / kubo / commits / cc37903b9

drop review TODO comment

License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com>

Jeromy committed Jun 5, 2018 at 08:37 UTC cc37903b923fc73108ff94bc5d97a36f0dd38620
1 file changed -1
namesys/validator.go
-1
@@ -102,7 +102,6 @@ func (v IpnsValidator) getPublicKey(pid peer.ID, entry *pb.IpnsEntry) (ic.PubKey
102 if entry.PubKey != nil {
103 pk, err := ic.UnmarshalPublicKey(entry.PubKey)
104 if err != nil {
105 - // TODO: i think this counts as a 'malformed record' and should be discarded
105 log.Debugf("public key in ipns record failed to parse: ", err)
106 return nil, fmt.Errorf("unmarshaling pubkey in record: %s", err)
107 }