Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
Geth-Modification
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张蕾
Geth-Modification
Commits
0646cc8d
Commit
0646cc8d
authored
Jul 09, 2015
by
Jeffrey Wilcke
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1453 from ethersphere/frozen-accounts
accounts, crypto: fixed file naming for windows
parents
97d22be3
c3f5403b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
4 deletions
+1
-4
account_manager.go
accounts/account_manager.go
+0
-3
key_store_plain.go
crypto/key_store_plain.go
+1
-1
No files found.
accounts/account_manager.go
View file @
0646cc8d
...
@@ -228,8 +228,5 @@ func (am *Manager) ImportPreSaleKey(keyJSON []byte, password string) (acc Accoun
...
@@ -228,8 +228,5 @@ func (am *Manager) ImportPreSaleKey(keyJSON []byte, password string) (acc Accoun
if
err
!=
nil
{
if
err
!=
nil
{
return
return
}
}
if
err
=
am
.
keyStore
.
StoreKey
(
key
,
password
);
err
!=
nil
{
return
}
return
Account
{
Address
:
key
.
Address
},
nil
return
Account
{
Address
:
key
.
Address
},
nil
}
}
crypto/key_store_plain.go
View file @
0646cc8d
...
@@ -189,7 +189,7 @@ func toISO8601(t time.Time) string {
...
@@ -189,7 +189,7 @@ func toISO8601(t time.Time) string {
}
else
{
}
else
{
tz
=
fmt
.
Sprintf
(
"%03d00"
,
offset
/
3600
)
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
)
{
func
getKeyAddresses
(
keysDirPath
string
)
(
addresses
[]
common
.
Address
,
err
error
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment