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

Merge pull request #769 from MetaMask/FixDelegateCall

Fix delegate call function reference 2
This commit is contained in:
Dan Finlay 2016-10-25 17:45:18 -07:00 committed by GitHub
commit 693c30d784

View File

@ -249,7 +249,7 @@ IdentityStore.prototype.addUnconfirmedTransaction = function (txParams, onTxDone
if (txParams.to) {
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()
})