Skip to content

Commit

Permalink
clean bootnodes
Browse files Browse the repository at this point in the history
  • Loading branch information
ldcc committed Jun 13, 2018
1 parent f121611 commit b84b315
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions p2p/dial.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,8 @@ type dialstate struct {
randomNodes []*discover.Node // filled from Table
static map[discover.NodeID]*dialTask
hist *dialHistory

start time.Time // time when the dialer was first used
bootnodes []*discover.Node // default dials when there are no peers
start time.Time // time when the dialer was first used
bootnodes []*discover.Node // default dials when there are no peers
}

type discoverTable interface {
Expand Down
2 changes: 1 addition & 1 deletion params/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ var (
TestnetChainConfig = &ChainConfig{
ChainID: big.NewInt(3),
ByzantiumBlock: big.NewInt(0),
ConstantinopleBlock: big.NewInt(10),
ConstantinopleBlock: nil,
Huchash: new(HuchashConfig),
}

Expand Down

0 comments on commit b84b315

Please sign in to comment.