Skip to content

Commit

Permalink
default denom
Browse files Browse the repository at this point in the history
  • Loading branch information
wanwiset25 committed Jul 22, 2024
1 parent 3782306 commit 80212a9
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 80212a9

Please sign in to comment.