Remove unnecessary else
This commit is contained in:
parent
41865c5107
commit
d276299e67
2
nip44.go
2
nip44.go
|
@ -38,8 +38,6 @@ func Encrypt(key []byte, plaintext string, options *EncryptOptions) (string, err
|
||||||
)
|
)
|
||||||
if options.Version != 0 {
|
if options.Version != 0 {
|
||||||
version = options.Version
|
version = options.Version
|
||||||
} else {
|
|
||||||
version = 1
|
|
||||||
}
|
}
|
||||||
if options.Salt != nil {
|
if options.Salt != nil {
|
||||||
salt = options.Salt
|
salt = options.Salt
|
||||||
|
|
Loading…
Reference in New Issue