Skip to content

Commit

Permalink
drop review TODO comment
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
  • Loading branch information
whyrusleeping committed Jun 5, 2018
1 parent c66c5c6 commit cc37903
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion namesys/validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit cc37903

Please sign in to comment.