mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 09:57:02 +01:00
Fix delegate call analysis
Fixed reference allowing transactions to be analyzed for delegate call again.
This commit is contained in:
parent
f7688ac3cf
commit
bda64ab132
@ -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…
Reference in New Issue
Block a user