pull/1/head
yann300 8 years ago
parent 24bee1cc25
commit c050976e26
  1. 3
      src/app/staticanalysis/modules/txOrigin.js

@ -20,7 +20,8 @@ txOrigin.prototype.report = function (node) {
var report = []
this.txOriginNode.map(function (item, i) {
report.push({
warning: 'use of tx.origin: "tx.origin" is useful only in very exceptional cases.\nIf you use it for authentication, you usually want to replace it by "msg.sender", because otherwise any contract you call can act on your behalf.',
warning: `use of tx.origin: "tx.origin" is useful only in very exceptional cases.\n
If you use it for authentication, you usually want to replace it by "msg.sender", because otherwise any contract you call can act on your behalf.`,
location: item.src
})
})

Loading…
Cancel
Save