Skip to content

Commit

Permalink
fix encode decode descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
cameroncooper committed Sep 24, 2024
1 parent ae670fe commit a1da8d4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions internal/cmd/coinset/address_decode.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ var addressDecodeCmd = &cobra.Command{
}
return fmt.Errorf("invalid address value specified: %s", args[0])
},
Short: "Decode puzzle hash to address",
Long: `Decode puzzle hash to address`,
Short: "Decode address to puzzle hash",
Long: `Decode address to puzzle hash`,
Run: func(cmd *cobra.Command, args []string) {
_, puzzleHashBytes, err := bech32m.DecodePuzzleHash(args[0])
if err != nil {
Expand Down
4 changes: 2 additions & 2 deletions internal/cmd/coinset/address_encode.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ var addressEncodeCmd = &cobra.Command{
}
return fmt.Errorf("invalid hex value specified: %s", args[0])
},
Short: "Encode address to puzzle hash",
Long: `Encode address to puzzle hash`,
Short: "Encode puzzle hash to address",
Long: `Encode puzzle hash to address`,
Run: func(cmd *cobra.Command, args []string) {
prefix := "xch"
if testnet {
Expand Down

0 comments on commit a1da8d4

Please sign in to comment.