aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorzelig <viktor.tron@gmail.com>2015-07-09 20:55:09 +0800
committerzelig <viktor.tron@gmail.com>2015-07-09 20:55:09 +0800
commit589f1c85b901b06d0058040a02890518b6aa7ab8 (patch)
treebb1b700145c6cc8a766a5d51b373850d17475f50 /crypto
parenta2333bcbb46245e07357be1f9af4108e9bf1fe40 (diff)
downloaddexon-589f1c85b901b06d0058040a02890518b6aa7ab8.tar.gz
dexon-589f1c85b901b06d0058040a02890518b6aa7ab8.tar.zst
dexon-589f1c85b901b06d0058040a02890518b6aa7ab8.zip
: colon => dash - in keyfile name - slight deviation from ISO8601 for WIN FS compatibility
Diffstat (limited to 'crypto')
-rw-r--r--crypto/key_store_plain.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/key_store_plain.go b/crypto/key_store_plain.go
index 428d01e25..8c405ebcd 100644
--- a/crypto/key_store_plain.go
+++ b/crypto/key_store_plain.go
@@ -189,7 +189,7 @@ func toISO8601(t time.Time) string {
} else {
tz = fmt.Sprintf("%03d00", offset/3600)
}
- return fmt.Sprintf("%04d-%02d-%02dT%02d:%02d:%02d.%09d%s", t.Year(), t.Month(), t.Day(), t.Hour(), t.Minute(), t.Second(), t.Nanosecond(), tz)
+ return fmt.Sprintf("%04d-%02d-%02dT%02d-%02d-%02d.%09d%s", t.Year(), t.Month(), t.Day(), t.Hour(), t.Minute(), t.Second(), t.Nanosecond(), tz)
}
func getKeyAddresses(keysDirPath string) (addresses []common.Address, err error) {