Skip to content

Commit

Permalink
coin denom support -
Browse files Browse the repository at this point in the history
  • Loading branch information
weichang-x committed Sep 2, 2021
1 parent b308fb5 commit 6b872f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/coin.go
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ func (coins Coins) Sort() Coins {

var (
// Denominations can be 3 ~ 64 characters long.
reDnmString = `[a-zA-Z][a-zA-Z0-9/:]{2,127}`
reDnmString = `[a-zA-Z][a-zA-Z0-9/:-]{2,127}`
reAmt = `[[:digit:]]+`
reDecAmt = `[[:digit:]]*[.]*[[:digit:]]+`
reSpc = `[[:space:]]*`
Expand Down

0 comments on commit 6b872f4

Please sign in to comment.