aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorCsaba Solya <csaba.solya@gmail.com>2018-05-30 22:24:40 +0800
committerCsaba Solya <csaba.solya@gmail.com>2018-05-30 22:24:40 +0800
commit6affd8f9492e04cdc81007e4f5390e4faa56499d (patch)
tree8cedeb0cb4c84f8e9272e263ef73ccb68408e435 /app
parentafb578886134663506320e7462935d3431512a9a (diff)
downloadtangerine-wallet-browser-6affd8f9492e04cdc81007e4f5390e4faa56499d.tar
tangerine-wallet-browser-6affd8f9492e04cdc81007e4f5390e4faa56499d.tar.gz
tangerine-wallet-browser-6affd8f9492e04cdc81007e4f5390e4faa56499d.tar.bz2
tangerine-wallet-browser-6affd8f9492e04cdc81007e4f5390e4faa56499d.tar.lz
tangerine-wallet-browser-6affd8f9492e04cdc81007e4f5390e4faa56499d.tar.xz
tangerine-wallet-browser-6affd8f9492e04cdc81007e4f5390e4faa56499d.tar.zst
tangerine-wallet-browser-6affd8f9492e04cdc81007e4f5390e4faa56499d.zip
adding transaction controller tests
Diffstat (limited to 'app')
-rw-r--r--app/scripts/controllers/transactions/lib/recipient-blacklist-checker.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/controllers/transactions/lib/recipient-blacklist-checker.js b/app/scripts/controllers/transactions/lib/recipient-blacklist-checker.js
index f6fbee678..c52e58863 100644
--- a/app/scripts/controllers/transactions/lib/recipient-blacklist-checker.js
+++ b/app/scripts/controllers/transactions/lib/recipient-blacklist-checker.js
@@ -30,7 +30,7 @@ async function checkAccount (networkId, account) {
const damnedAccounts = await keyring.getAccounts()
for (let i = 0; i < damnedAccounts.length; i++) {
if (damnedAccounts[i].toLowerCase() === accountToCheck) {
- throw new Error('this is a public account')
+ throw new Error('Recipient is a public account')
}
}
} \ No newline at end of file