Skip to content

Commit d2f3d7f

Browse files
chore: fix some typos in comment (#2703)
Signed-off-by: tsinghuacoder <[email protected]>
1 parent 2fbfe1b commit d2f3d7f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

slither/detectors/statements/pyth_unchecked.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class PythUnchecked(AbstractDetector):
1313
Documentation: This detector finds deprecated Pyth function calls
1414
"""
1515

16-
# To be overriden in the derived class
16+
# To be overridden in the derived class
1717
PYTH_FUNCTIONS = []
1818
PYTH_FIELD = ""
1919

slither/detectors/statements/write_after_write.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def _detect_write_after_write(
8686

8787
explored.add(node)
8888

89-
# We could report write after write for, but this lead to a lot of FP due to the initilization to zero pattern:
89+
# We could report write after write for, but this lead to a lot of FP due to the initialization to zero pattern:
9090
# uint a = 0;
9191
# a = 10;
9292
# To do better, we could filter out if the variable is init to zero
@@ -123,7 +123,7 @@ class WriteAfterWrite(AbstractDetector):
123123
}
124124
}
125125
```
126-
`a` is first asigned to `b`, and then to `c`. As a result the first write does nothing."""
126+
`a` is first assigned to `b`, and then to `c`. As a result the first write does nothing."""
127127
# endregion wiki_exploit_scenario
128128

129129
WIKI_RECOMMENDATION = """Fix or remove the writes."""

0 commit comments

Comments
 (0)