Skip to content

Commit 8c6867e

Browse files
committed
fix typo on error message
1 parent 1f36249 commit 8c6867e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/internal/interface/grpc/handlers/indexer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -669,7 +669,7 @@ func parsePubkey(pubkey string) (string, error) {
669669
return "", fmt.Errorf("invalid pubkey format: %s", err)
670670
}
671671
if len(buf) != 32 {
672-
return "", fmt.Errorf("invalid pubkey length: got %d, expeted 32", len(buf))
672+
return "", fmt.Errorf("invalid pubkey length: got %d, expected 32", len(buf))
673673
}
674674
if _, err := schnorr.ParsePubKey(buf); err != nil {
675675
return "", fmt.Errorf("invalid schnorr pubkey: %s", err)

0 commit comments

Comments
 (0)