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

Commit aae9ec2

Browse files
committed
Add tomochain handle for GetEthereumTokenTypeByIndex
1 parent c5b1b1d commit aae9ec2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkg/blockatlas/tx.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,8 @@ func GetEthereumTokenTypeByIndex(coinIndex uint) TokenType {
394394
tokenType = TokenTypeTT20
395395
case coin.Gochain().ID:
396396
tokenType = TokenTypeGO20
397+
case coin.Tomochain().ID:
398+
tokenType = TokenTypeTRC20
397399
case coin.Bsc().ID:
398400
tokenType = TokenTypeBEP20
399401
default:

0 commit comments

Comments
 (0)