Skip to content
This repository has been archived by the owner on Mar 16, 2022. It is now read-only.

Commit

Permalink
Add tomochain handle for GetEthereumTokenTypeByIndex
Browse files Browse the repository at this point in the history
  • Loading branch information
vikmeup committed Sep 4, 2020
1 parent c5b1b1d commit aae9ec2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/blockatlas/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,8 @@ func GetEthereumTokenTypeByIndex(coinIndex uint) TokenType {
tokenType = TokenTypeTT20
case coin.Gochain().ID:
tokenType = TokenTypeGO20
case coin.Tomochain().ID:
tokenType = TokenTypeTRC20
case coin.Bsc().ID:
tokenType = TokenTypeBEP20
default:
Expand Down

0 comments on commit aae9ec2

Please sign in to comment.