diff options
author | GagziW <leon.stanko@rwth-aachen.de> | 2018-05-03 16:37:56 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2018-05-03 16:37:56 +0800 |
commit | 541f299fbbf3c4f4f0ee49c5ecb832f08cc22656 (patch) | |
tree | 73f87c73b7e0aa5be82005e00602f051c57d1b7d /accounts/keystore/keystore_plain.go | |
parent | 7c02933275d8f67fbdf78cdc05c0e09af4ebc657 (diff) | |
download | dexon-541f299fbbf3c4f4f0ee49c5ecb832f08cc22656.tar dexon-541f299fbbf3c4f4f0ee49c5ecb832f08cc22656.tar.gz dexon-541f299fbbf3c4f4f0ee49c5ecb832f08cc22656.tar.bz2 dexon-541f299fbbf3c4f4f0ee49c5ecb832f08cc22656.tar.lz dexon-541f299fbbf3c4f4f0ee49c5ecb832f08cc22656.tar.xz dexon-541f299fbbf3c4f4f0ee49c5ecb832f08cc22656.tar.zst dexon-541f299fbbf3c4f4f0ee49c5ecb832f08cc22656.zip |
accounts: changed if-else blocks to conform with golint (#16654)
Diffstat (limited to 'accounts/keystore/keystore_plain.go')
-rw-r--r-- | accounts/keystore/keystore_plain.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/accounts/keystore/keystore_plain.go b/accounts/keystore/keystore_plain.go index b490ca72b..f62a133ce 100644 --- a/accounts/keystore/keystore_plain.go +++ b/accounts/keystore/keystore_plain.go @@ -56,7 +56,6 @@ func (ks keyStorePlain) StoreKey(filename string, key *Key, auth string) error { func (ks keyStorePlain) JoinPath(filename string) string { if filepath.IsAbs(filename) { return filename - } else { - return filepath.Join(ks.keysDirPath, filename) } + return filepath.Join(ks.keysDirPath, filename) } |