aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/lib
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-10-27 02:44:28 +0800
committerDan Finlay <dan@danfinlay.com>2016-10-27 02:44:28 +0800
commit1d1c64cf8900842c90127f011c528a7f6f96dbab (patch)
tree730efcb4680c0d4420ad39da7acd8f70b7bffd03 /app/scripts/lib
parent84bd8784d01436c505bad4beedafcd5dcbbc5058 (diff)
parent0bad9414338b5343f6afd19a3ac10fba19c3cbf1 (diff)
downloadtangerine-wallet-browser-1d1c64cf8900842c90127f011c528a7f6f96dbab.tar
tangerine-wallet-browser-1d1c64cf8900842c90127f011c528a7f6f96dbab.tar.gz
tangerine-wallet-browser-1d1c64cf8900842c90127f011c528a7f6f96dbab.tar.bz2
tangerine-wallet-browser-1d1c64cf8900842c90127f011c528a7f6f96dbab.tar.lz
tangerine-wallet-browser-1d1c64cf8900842c90127f011c528a7f6f96dbab.tar.xz
tangerine-wallet-browser-1d1c64cf8900842c90127f011c528a7f6f96dbab.tar.zst
tangerine-wallet-browser-1d1c64cf8900842c90127f011c528a7f6f96dbab.zip
Merge branch 'master' into UpdateWeb3
Diffstat (limited to 'app/scripts/lib')
-rw-r--r--app/scripts/lib/idStore.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/scripts/lib/idStore.js b/app/scripts/lib/idStore.js
index 402a5e612..46d53c4e1 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()
})
@@ -426,7 +426,7 @@ IdentityStore.prototype._loadIdentities = function () {
// // add to ethStore
this._ethStore.addAccount(ethUtil.addHexPrefix(address))
// add to identities
- const defaultLabel = 'Wallet ' + (i + 1)
+ const defaultLabel = 'Account ' + (i + 1)
const nickname = configManager.nicknameForWallet(address)
var identity = {
name: nickname || defaultLabel,