Merge pull request #766 from MetaMask/FixDelegateCallCheck

Fix delegate call analysis
feature/default_network_editable
Dan Finlay 8 years ago committed by GitHub
commit 1cabeb2fc4
  1. 1
      CHANGELOG.md
  2. 2
      app/scripts/lib/idStore.js

@ -3,6 +3,7 @@
## Current Master
- Add a check for improper Transaction data.
- Fix bug that was sometimes preventing transactions from being sent.
## 2.13.5 2016-10-18

@ -247,7 +247,7 @@ IdentityStore.prototype.addUnconfirmedTransaction = function (txParams, onTxDone
// perform static analyis on the target contract code
function analyzeForDelegateCall(cb){
if (txParams.to) {
query.getCode(txParams.to, function (err, result) {
query.getCode(txParams.to, (err, result) => {
if (err) return cb(err)
var containsDelegateCall = this.checkForDelegateCall(result)
txData.containsDelegateCall = containsDelegateCall

Loading…
Cancel
Save