aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/controllers/transactions/index.js
diff options
context:
space:
mode:
authorCsaba Solya <csaba.solya@gmail.com>2018-05-31 03:15:59 +0800
committerCsaba Solya <csaba.solya@gmail.com>2018-05-31 03:15:59 +0800
commit1dda0c646940179bec6e886117a8ecf3f0f7ab48 (patch)
treefd2a6c901ca0647af1fae2df7780102e54b28829 /app/scripts/controllers/transactions/index.js
parent3e489ea16506569950c10fc3636071075b2495e8 (diff)
downloadtangerine-wallet-browser-1dda0c646940179bec6e886117a8ecf3f0f7ab48.tar.gz
tangerine-wallet-browser-1dda0c646940179bec6e886117a8ecf3f0f7ab48.tar.zst
tangerine-wallet-browser-1dda0c646940179bec6e886117a8ecf3f0f7ab48.zip
remove generating blocked accounts and use a config file instead
Diffstat (limited to 'app/scripts/controllers/transactions/index.js')
-rw-r--r--app/scripts/controllers/transactions/index.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/scripts/controllers/transactions/index.js b/app/scripts/controllers/transactions/index.js
index 16f7291d6..b53947e27 100644
--- a/app/scripts/controllers/transactions/index.js
+++ b/app/scripts/controllers/transactions/index.js
@@ -160,8 +160,8 @@ class TransactionController extends EventEmitter {
this.emit('newUnapprovedTx', txMeta)
try {
- // check whether recipient account is public
- await recipientBlacklistChecker.checkAccount(txMeta.metamaskNetworkId, normalizedTxParams.to)
+ // check whether recipient account is blacklisted
+ recipientBlacklistChecker.checkAccount(txMeta.metamaskNetworkId, normalizedTxParams.to)
// add default tx params
txMeta = await this.addTxGasDefaults(txMeta)
} catch (error) {