session: fix NewPrivateToken function doc

This commit is contained in:
Leonard Lyubich 2020-04-29 12:59:58 +03:00
parent 608f578105
commit ffd4338eb3

View file

@ -13,7 +13,7 @@ type pToken struct {
sessionKey *ecdsa.PrivateKey
}
// NewSessionPrivateToken creates PrivateToken instance.
// NewPrivateToken creates PrivateToken instance.
//
// Returns non-nil error on key generation error.
func NewPrivateToken() (PrivateToken, error) {