Fix typo in selfdestruct.js: planed -> planned

Small typo fix
pull/7/head
Cory Forsyth 7 years ago committed by GitHub
parent 20a8742899
commit 1249a70a39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      remix-solidity/src/analysis/modules/selfdestruct.js

@ -16,7 +16,7 @@ selfdestruct.prototype.visit = function (node) {
selfdestruct.prototype.report = function () { selfdestruct.prototype.report = function () {
return this.relevantNodes.map(function (item, i) { return this.relevantNodes.map(function (item, i) {
return { 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, location: item.src,
more: 'https://paritytech.io/blog/security-alert.html' more: 'https://paritytech.io/blog/security-alert.html'
} }

Loading…
Cancel
Save