Unverified Commit eb6292a6 authored by yann300's avatar yann300 Committed by GitHub

Merge pull request #622 from fracek/fix-spelling

Fix spelling in callcode and delegatecall warnings
parents a22c7748 622a5b05
...@@ -33,14 +33,14 @@ lowLevelCalls.prototype.report = function (compilationResults) { ...@@ -33,14 +33,14 @@ lowLevelCalls.prototype.report = function (compilationResults) {
break break
case common.lowLevelCallTypes.CALLCODE: case common.lowLevelCallTypes.CALLCODE:
text = `use of "callcode": the use of low level "callcode" should be avoided whenever possible. text = `use of "callcode": the use of low level "callcode" should be avoided whenever possible.
External code that is called can change the state of the calling contract and send ether form the caller's balance. External code that is called can change the state of the calling contract and send ether from the caller's balance.
If this is wantend behaviour use the Solidity library feature if possible.` If this is wanted behaviour use the Solidity library feature if possible.`
morehref = 'http://solidity.readthedocs.io/en/develop/contracts.html#libraries' morehref = 'http://solidity.readthedocs.io/en/develop/contracts.html#libraries'
break break
case common.lowLevelCallTypes.DELEGATECALL: case common.lowLevelCallTypes.DELEGATECALL:
text = `use of "delegatecall": the use of low level "delegatecall" should be avoided whenever possible. text = `use of "delegatecall": the use of low level "delegatecall" should be avoided whenever possible.
External code that is called can change the state of the calling contract and send ether form the caller's balance. External code that is called can change the state of the calling contract and send ether from the caller's balance.
If this is wantend behaviour use the Solidity library feature if possible.` If this is wanted behaviour use the Solidity library feature if possible.`
morehref = 'http://solidity.readthedocs.io/en/develop/contracts.html#libraries' morehref = 'http://solidity.readthedocs.io/en/develop/contracts.html#libraries'
break break
case common.lowLevelCallTypes.SEND: case common.lowLevelCallTypes.SEND:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment