Fix spelling in callcode and delegatecall warnings

pull/7/head
Francesco Ceccon 7 years ago
parent a22c77481c
commit 622a5b0598
No known key found for this signature in database
GPG Key ID: 41A1B00FB6480AAB
  1. 8
      remix-solidity/src/analysis/modules/lowLevelCalls.js

@ -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:

Loading…
Cancel
Save