Merge pull request #660 from bantic/patch-1

Fix typo in selfdestruct.js: planed -> planned
pull/3094/head
yann300 7 years ago committed by GitHub
commit af8a40c030
  1. 2
      remix-solidity/src/analysis/modules/selfdestruct.js

@ -16,7 +16,7 @@ selfdestruct.prototype.visit = function (node) {
selfdestruct.prototype.report = function () {
return this.relevantNodes.map(function (item, i) {
return {
warning: 'Use of selfdestruct: can block calling contracts unexpectedly. Be especially careful if this contract is planed to be used by other contracts (i.e. library contracts, interactions). Selfdestruction of the callee contract can leave callers in an inoperable state.',
warning: 'Use of selfdestruct: can block calling contracts unexpectedly. Be especially careful if this contract is planned to be used by other contracts (i.e. library contracts, interactions). Selfdestruction of the callee contract can leave callers in an inoperable state.',
location: item.src,
more: 'https://paritytech.io/blog/security-alert.html'
}

Loading…
Cancel
Save