Merge pull request #418 from crytic/dev-typos-fixed

Typos fixed in "Divide before multiply" detector description
pull/425/head
Feist Josselin 5 years ago committed by GitHub
commit cff92623ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      slither/detectors/statements/divide_before_multiply.py

@ -58,7 +58,7 @@ class DivideBeforeMultiply(AbstractDetector):
WIKI_TITLE = 'Divide before multiply'
WIKI_DESCRIPTION = '''Solidity only supports integers, so division will often truncate; performing a multiply before a divison can sometimes avoid loss of precision.'''
WIKI_DESCRIPTION = '''Solidity integeer division will might truncate. As a result, performing a multiply before a divison might lead to loss of precision.'''
WIKI_DESCRIPTION = '''Solidity integer division might truncate. As a result, performing a multiply before a divison might lead to loss of precision.'''
WIKI_EXPLOIT_SCENARIO = '''
```solidity
contract A {

Loading…
Cancel
Save