Skip to content

Commit 6ea2596

Browse files
authored
Merge pull request #60 from fpco/allow_usdt_denom
Allow USDT denom for Rujira Stagenet
2 parents 0a157fe + 0ff4884 commit 6ea2596

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cosmos/src/parsed_coin.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ impl FromStr for ParsedCoin {
6969
let (amount, denom) = s.split_at(denom_first_index);
7070

7171
for char in denom.chars() {
72-
if !char.is_ascii_alphanumeric() && char != '/' {
72+
if !char.is_ascii_alphanumeric() && char != '/' && char != '-' {
7373
return Err(ParsedCoinError::InvalidDenom {
7474
input: s.to_owned(),
7575
});

0 commit comments

Comments
 (0)