aboutsummaryrefslogtreecommitdiffstats
path: root/accounts/keystore/keystore_plain.go
diff options
context:
space:
mode:
Diffstat (limited to 'accounts/keystore/keystore_plain.go')
-rw-r--r--accounts/keystore/keystore_plain.go3
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)
}