diff options
author | frankiebee <frankie.diamond@gmail.com> | 2018-03-14 06:26:45 +0800 |
---|---|---|
committer | frankiebee <frankie.diamond@gmail.com> | 2018-03-14 06:26:45 +0800 |
commit | c465d510b100fdf9926413751df04cbd59de68eb (patch) | |
tree | 951ae1bad3a4d613ac342b55d30753c70f215f35 | |
parent | d7bf6e36b1f40068eec1d6c3d30207f3fae5cfde (diff) | |
download | tangerine-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
-rw-r--r-- | app/scripts/lib/tx-gas-utils.js | 2 |
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) { |