diff options
author | Dan Finlay <dan@danfinlay.com> | 2016-10-27 01:51:07 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2016-10-27 01:51:07 +0800 |
commit | f1bbaeea5090926f6f815a890bd673fc3e720468 (patch) | |
tree | 80eb39b1352483ce43364502a7de52467de1b439 | |
parent | f2497c5a97b78e4ea8b3c1c47d89e45334626986 (diff) | |
parent | 693c30d784a76880a92f00940f49528e58700310 (diff) | |
download | tangerine-wallet-browser-f1bbaeea5090926f6f815a890bd673fc3e720468.tar.gz tangerine-wallet-browser-f1bbaeea5090926f6f815a890bd673fc3e720468.tar.zst tangerine-wallet-browser-f1bbaeea5090926f6f815a890bd673fc3e720468.zip |
Merge branch 'master' into 761-FixCustomMordenIndication
-rw-r--r-- | CHANGELOG.md | 1 | ||||
-rw-r--r-- | app/scripts/lib/idStore.js | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index e7695defc..b4ea16f11 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ - Add a check for improper Transaction data. - Fix bug where custom provider selection could show duplicate items. - Fix bug where connecting to a local morden node would make two providers appear selected. +- 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..27372b3e9 100644 --- a/app/scripts/lib/idStore.js +++ b/app/scripts/lib/idStore.js @@ -247,9 +247,9 @@ 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) + var containsDelegateCall = self.checkForDelegateCall(result) txData.containsDelegateCall = containsDelegateCall cb() }) |