Skip to content

Commit

Permalink
Solve subscriptable type
Browse files Browse the repository at this point in the history
  • Loading branch information
talfao committed Feb 4, 2024
1 parent b434a75 commit 1780794
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion slither/detectors/oracles/oracle_detector.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from typing import List
from slither.analyses.data_dependency.data_dependency import get_dependencies
from slither.core.declarations.contract import Contract
from slither.core.declarations.function_contract import FunctionContract
Expand All @@ -11,7 +12,7 @@


class OracleDetector(AbstractDetector):
def find_oracles(self, contracts: Contract) -> list[Oracle]:
def find_oracles(self, contracts: Contract) -> List[Oracle]:
"""
Detects off-chain oracle contract and VAR
"""
Expand Down

0 comments on commit 1780794

Please sign in to comment.