Skip to content

Commit

Permalink
Update EVMChainSettings.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
donnyquixotic authored Nov 17, 2023
1 parent b2c47a1 commit 5ce3130
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/antelope/chains/EVMChainSettings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ export default abstract class EVMChainSettings implements ChainSettings {
return this.indexer.get(url, { params })
.then(response => response.data as IndexerAccountTransfersResponse)
.then((data) => {
// we recreate the supportedInterfaces property if is not pressent in the response
// set supportedInterfaces property if undefined in the response
Object.values(data.contracts).forEach((contract) => {
if (contract.supportedInterfaces === null && type !== undefined) {
contract.supportedInterfaces = [type];
Expand Down

0 comments on commit 5ce3130

Please sign in to comment.