aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorfrankiebee <frankie.diamond@gmail.com>2018-03-14 06:26:45 +0800
committerfrankiebee <frankie.diamond@gmail.com>2018-03-14 06:26:45 +0800
commitc465d510b100fdf9926413751df04cbd59de68eb (patch)
tree951ae1bad3a4d613ac342b55d30753c70f215f35 /app
parentd7bf6e36b1f40068eec1d6c3d30207f3fae5cfde (diff)
downloadtangerine-wallet-browser-c465d510b100fdf9926413751df04cbd59de68eb.tar
tangerine-wallet-browser-c465d510b100fdf9926413751df04cbd59de68eb.tar.gz
tangerine-wallet-browser-c465d510b100fdf9926413751df04cbd59de68eb.tar.bz2
tangerine-wallet-browser-c465d510b100fdf9926413751df04cbd59de68eb.tar.lz
tangerine-wallet-browser-c465d510b100fdf9926413751df04cbd59de68eb.tar.xz
tangerine-wallet-browser-c465d510b100fdf9926413751df04cbd59de68eb.tar.zst
tangerine-wallet-browser-c465d510b100fdf9926413751df04cbd59de68eb.zip
fix error message
Diffstat (limited to 'app')
-rw-r--r--app/scripts/lib/tx-gas-utils.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/lib/tx-gas-utils.js b/app/scripts/lib/tx-gas-utils.js
index e61db3332..3b0494e04 100644
--- a/app/scripts/lib/tx-gas-utils.js
+++ b/app/scripts/lib/tx-gas-utils.js
@@ -104,7 +104,7 @@ module.exports = class TxGasUtil {
if ('to' in txParams) {
if ( txParams.to === null ) delete txParams.to
else if ( txParams.to !== undefined && !isValidAddress(txParams.to) ) {
- throw new Error(`Invalid transaction value of ${txParams.to} not a valid to address.`)
+ throw new Error(`Invalid recipient address`)
}
}
if ('value' in txParams) {