1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-30 18:13:54 +08:00

namesys: remove unecessary peerID cast

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
This commit is contained in:
Steven Allen
2018-01-25 14:33:42 -08:00
parent d154b4a990
commit 0d12a971ad

View File

@ -322,7 +322,7 @@ func ValidateIpnsRecord(r *record.ValidationRecord) error {
if err != nil {
return ErrInvalidAuthor
}
if string(pid) != string(r.Author) {
if pid != r.Author {
return ErrInvalidAuthor
}