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
c866fcc5
Commit
c866fcc5
authored
Feb 18, 2014
by
obscuren
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added new address
parent
d7eca7bc
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
block_manager.go
ethchain/block_manager.go
+1
-1
config.go
ethutil/config.go
+1
-1
helpers.go
ethutil/helpers.go
+1
-1
No files found.
ethchain/block_manager.go
View file @
c866fcc5
...
...
@@ -43,7 +43,7 @@ type BlockManager struct {
func
AddTestNetFunds
(
block
*
Block
)
{
for
_
,
addr
:=
range
[]
string
{
"8a40bfaa73256b60764c1bf40675a99083efb075"
,
// Gavin
"
93658b04240e4bd4046fd2d6d417d20f146f4b43
"
,
// Jeffrey
"
e6716f9544a56c530d868e4bfbacb172315bdead
"
,
// Jeffrey
"1e12515ce3e0f817a4ddef9ca55788a1d66bd2df"
,
// Vit
"1a26338f0d905e295fccb71fa9ea849ffa12aaf4"
,
// Alex
}
{
...
...
ethutil/config.go
View file @
c866fcc5
...
...
@@ -43,7 +43,7 @@ func ReadConfig(base string) *config {
}
}
Config
=
&
config
{
ExecPath
:
path
,
Debug
:
true
,
Ver
:
"0.2.
2
"
}
Config
=
&
config
{
ExecPath
:
path
,
Debug
:
true
,
Ver
:
"0.2.
3
"
}
Config
.
Log
=
NewLogger
(
LogFile
|
LogStd
,
0
)
}
...
...
ethutil/helpers.go
View file @
c866fcc5
...
...
@@ -58,7 +58,7 @@ func MatchingNibbleLength(a, b []int) int {
func
Hex
(
d
[]
byte
)
string
{
return
hex
.
EncodeToString
(
d
)
}
func
To
Hex
(
str
string
)
[]
byte
{
func
From
Hex
(
str
string
)
[]
byte
{
h
,
_
:=
hex
.
DecodeString
(
str
)
return
h
}
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