Skip to content

Commit

Permalink
chore: fix initialization token output
Browse files Browse the repository at this point in the history
  • Loading branch information
artemijspavlovs committed Jul 16, 2024
1 parent 2eb6a09 commit a64cd37
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions cmd/config/init/format.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,15 @@ func formatAddresses(
}

func FormatTokenSupplyLine(rollappConfig config.RollappConfig) string {
displayDenom := strings.ToUpper(rollappConfig.Denom[1:])
return fmt.Sprintf(
"💰 Total Token Supply: %s %s. Note that 1 %s == 1 * 10^%d %s (like 1 ETH == 1 * 10^18 wei).",
addCommasToNum(
"1000000000",
),
displayDenom,
displayDenom,
rollappConfig.Denom,
rollappConfig.Denom,
rollappConfig.Decimals,
"u"+displayDenom,
rollappConfig.BaseDenom,
)
}

Expand Down

0 comments on commit a64cd37

Please sign in to comment.