Skip to content

Workaround for missing tokenDecimal for tokentx calls

Compare
Choose a tag to compare
@nanmu42 nanmu42 released this 20 Nov 08:15
· 71 commits to master since this release
28455ff

Some ERC20 contract does not have valid decimals information in Etherscan.
When that happens, TokenName, TokenSymbol are empty strings,
and TokenDecimal will be 0, instead of an unmarshaling error.

More information can be found at: #8