Skip to content

Commit

Permalink
Merge pull request ethereum#192 from nextyio/testnet
Browse files Browse the repository at this point in the history
dccs: update token manager state position
  • Loading branch information
Zergity authored May 23, 2019
2 parents 8d12f38 + 79e9434 commit 843b4c7
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
# git config --global core.excludesfile ~/.gitignore_global

/tmp
/data/**/gonex
/data/**/history
*/**/*un~
*/**/*.test
*un~
Expand All @@ -21,7 +23,6 @@ build/_vendor/pkg
*~
.project
.settings

# used by the Makefile
/build/_workspace/
/build/bin/
Expand Down
2 changes: 1 addition & 1 deletion cmd/gonex/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ import (
)

const (
clientIdentifier = "geth" // Client identifier to advertise over the network
clientIdentifier = "gonex" // Client identifier to advertise over the network
)

var (
Expand Down
2 changes: 1 addition & 1 deletion consensus/dccs/dccs.go
Original file line number Diff line number Diff line change
Expand Up @@ -921,7 +921,7 @@ func deployConsensusContracts(state *state.StateDB, chainConfig *params.ChainCon
}

// replace the random generated sender address in MultiOwnable's manager field
storage[common.BigToHash(common.Big1)] = owner.Hash()
storage[common.BigToHash(common.Big0)] = owner.Hash()

// Deploy only, no upgrade
deployContract(state, params.TokenAddress, code, storage, false)
Expand Down
2 changes: 1 addition & 1 deletion node/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ func (c *Config) NodeName() string {
name := c.name()
// Backwards compatibility: previous versions used title-cased "Geth", keep that.
if name == "geth" || name == "geth-testnet" {
name = "gonex"
name = "Geth"
}
if c.UserIdent != "" {
name += "/" + c.UserIdent
Expand Down

0 comments on commit 843b4c7

Please sign in to comment.