1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Merge branch 'master' into i762-RenameWalletToAccount

This commit is contained in:
Dan Finlay 2016-10-26 11:31:08 -07:00
commit c834b4f637
2 changed files with 3 additions and 2 deletions

View File

@ -4,6 +4,7 @@
- Add a check for improper Transaction data. - Add a check for improper Transaction data.
- Now nicknaming new accounts "Account #" instead of "Wallet #" for clarity. - Now nicknaming new accounts "Account #" instead of "Wallet #" for clarity.
- Fix bug that was sometimes preventing transactions from being sent.
## 2.13.5 2016-10-18 ## 2.13.5 2016-10-18

View File

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