Skip to content

Commit

Permalink
Merge pull request #183 from XinFinOrg/feature-v1-release
Browse files Browse the repository at this point in the history
update for Subnet Configuration Generator v1 release
  • Loading branch information
wanwiset25 authored Oct 3, 2024
2 parents 9bcc13c + 80212a9 commit f4e45e4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cmd/puppeth/wizard_genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ func (w *wizard) makeGenesis() {
genesis.Config.XDPoS.NetworkName = w.readDefaultString("xdc-subnet")

fmt.Println()
fmt.Println("What's the name of the chain denomination? (default = 0x)")
genesis.Config.XDPoS.Denom = w.readDefaultString("0x")
fmt.Println("What's the name of the chain denomination? (default = sdc)")
genesis.Config.XDPoS.Denom = w.readDefaultString("sdc")

fmt.Println()
fmt.Println("How many seconds should blocks take? (default = 2)")
Expand Down
2 changes: 1 addition & 1 deletion cmd/puppeth/wizard_genesis_file.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ type GenesisInput struct {
func NewGenesisInput() *GenesisInput {
return &GenesisInput{
Name: "xdc-subnet",
Denom: "0x",
Denom: "sdc",
Period: 2,
Reward: 2,
TimeoutPeriod: 10,
Expand Down

0 comments on commit f4e45e4

Please sign in to comment.