diff options
author | Dan Finlay <dan@danfinlay.com> | 2016-10-26 05:58:04 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2016-10-26 05:58:04 +0800 |
commit | bda64ab132e87d4f717f257935a842f7368f0776 (patch) | |
tree | 35a9b0805476b095e025ee56d1c0194d7781467d | |
parent | f7688ac3cf8939057013667f544d57dcb73937a5 (diff) | |
download | tangerine-wallet-browser-bda64ab132e87d4f717f257935a842f7368f0776.tar tangerine-wallet-browser-bda64ab132e87d4f717f257935a842f7368f0776.tar.gz tangerine-wallet-browser-bda64ab132e87d4f717f257935a842f7368f0776.tar.bz2 tangerine-wallet-browser-bda64ab132e87d4f717f257935a842f7368f0776.tar.lz tangerine-wallet-browser-bda64ab132e87d4f717f257935a842f7368f0776.tar.xz tangerine-wallet-browser-bda64ab132e87d4f717f257935a842f7368f0776.tar.zst tangerine-wallet-browser-bda64ab132e87d4f717f257935a842f7368f0776.zip |
Fix delegate call analysis
Fixed reference allowing transactions to be analyzed for delegate call again.
-rw-r--r-- | CHANGELOG.md | 1 | ||||
-rw-r--r-- | app/scripts/lib/idStore.js | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index f2c442050..0586b8ef1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/app/scripts/lib/idStore.js b/app/scripts/lib/idStore.js index 402a5e612..cb14a5145 100644 --- a/app/scripts/lib/idStore.js +++ b/app/scripts/lib/idStore.js @@ -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 |