Skip to content

Commit

Permalink
Merge pull request #795 from telosnetwork/develop
Browse files Browse the repository at this point in the history
Updating Master Branch
  • Loading branch information
pmjanus authored Apr 17, 2024
2 parents 3349994 + 2ed6b9c commit 9fdc3a3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/antelope/chains/EVMChainSettings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,8 @@ export default abstract class EVMChainSettings implements ChainSettings {
for (const result of balances.results) {
const token = tokenList.find(t => t.address.toLowerCase() === result.contract.toLowerCase());
const contractData = balances.contracts[result.contract] ?? {};
const callDataStr = contractData.calldata as string | object;
// fixing calldata
const callDataStr = contractData.calldata as string | object ?? '{}';

try {
if (typeof callDataStr === 'string') {
Expand Down

0 comments on commit 9fdc3a3

Please sign in to comment.