Skip to content

Commit 589f1c8

Browse files
committed
: colon => dash - in keyfile name - slight deviation from ISO8601 for WIN FS compatibility
1 parent a2333bc commit 589f1c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crypto/key_store_plain.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ func toISO8601(t time.Time) string {
189189
} else {
190190
tz = fmt.Sprintf("%03d00", offset/3600)
191191
}
192-
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)
192+
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)
193193
}
194194

195195
func getKeyAddresses(keysDirPath string) (addresses []common.Address, err error) {

0 commit comments

Comments
 (0)