Skip to content

Commit

Permalink
Catch value error for VM error
Browse files Browse the repository at this point in the history
  • Loading branch information
yongchand committed Jan 26, 2023
1 parent c2672e6 commit aa6cf2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion klaytnetl/service/klaytn_contract_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def contract_interface_support(self, contract_address, block_number, interface):
try:
contract_interface_support = contract_165.functions.supportsInterface(interface) \
.call(block_identifier=block_number)
except (BadFunctionCallOutput, ContractLogicError) :
except (BadFunctionCallOutput, ContractLogicError, ValueError):
contract_interface_support = False
return contract_interface_support

Expand Down

0 comments on commit aa6cf2b

Please sign in to comment.