mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-28 07:36:44 +00:00
minor changes
This commit is contained in:
parent
f088f1f24f
commit
da11e05e45
3 changed files with 2 additions and 6 deletions
|
|
@ -134,13 +134,9 @@ func remoteConsole(ctx *cli.Context) error {
|
|||
path = filepath.Join(path, "rinkeby")
|
||||
} else if ctx.GlobalBool(utils.GoerliFlag.Name) {
|
||||
path = filepath.Join(path, "goerli")
|
||||
} else if ctx.GlobalBool(utils.MumbaiFlag.Name) {
|
||||
} else if (ctx.GlobalBool(utils.MumbaiFlag.Name) || ctx.GlobalBool(utils.BorMainnetFlag.Name)) {
|
||||
homeDir, _ := os.UserHomeDir()
|
||||
path = filepath.Join(homeDir, "/.bor/data")
|
||||
} else if ctx.GlobalBool(utils.BorMainnetFlag.Name) {
|
||||
homeDir, _ := os.UserHomeDir()
|
||||
path = filepath.Join(homeDir, "/.bor/data")
|
||||
}
|
||||
}
|
||||
endpoint = fmt.Sprintf("%s/geth.ipc", path)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -429,7 +429,7 @@ func DefaultBorMainnetGenesisBlock() *Genesis {
|
|||
Difficulty: big.NewInt(1),
|
||||
Mixhash: common.HexToHash("0x0000000000000000000000000000000000000000000000000000000000000000"),
|
||||
Coinbase: common.HexToAddress("0x0000000000000000000000000000000000000000"),
|
||||
Alloc: readPrealloc("allocs/bormainnet.json"),
|
||||
Alloc: readPrealloc("allocs/bor_mainnet.json"),
|
||||
Number: 0x0,
|
||||
GasUsed: 0x0,
|
||||
ParentHash: common.HexToHash("0x0000000000000000000000000000000000000000000000000000000000000000"),
|
||||
|
|
|
|||
Loading…
Reference in a new issue