Bunch of small warnings and stylistic things...

This commit is contained in:
Adam Ierymenko 2019-09-30 11:10:47 -07:00
parent f680924585
commit e4799ff8c4
No known key found for this signature in database
GPG key ID: C8877CF2D7A5D7F3
21 changed files with 228 additions and 119 deletions

View file

@ -62,7 +62,7 @@ func NewIdentityFromString(s string) (*Identity, error) {
} else if ss[1] == "1" {
id.idtype = 1
} else {
return nil, ErrUncrecognizedIdentityType
return nil, ErrUnrecognizedIdentityType
}
switch id.idtype {