|
|
|
@ -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() |
|
|
|
|
}) |
|
|
|
|