Remove unnecessary else
This commit is contained in:
parent
97ed22d336
commit
2286d81481
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…
x
Reference in New Issue
Block a user