aboutsummaryrefslogtreecommitdiffstats
path: root/old-ui
diff options
context:
space:
mode:
authorHoward Braham <howrad@gmail.com>2018-09-29 02:01:34 +0800
committerHoward Braham <howrad@gmail.com>2018-10-10 06:31:25 +0800
commit4cc0b1ef01573e1541d18bdcd89650e1db32ae9a (patch)
treeb362504595ff4c7c233dc958de11a82d88ef8b79 /old-ui
parent222e62d7f10ffe22dd606aea9c15e1547986c4ab (diff)
downloadtangerine-wallet-browser-4cc0b1ef01573e1541d18bdcd89650e1db32ae9a.tar
tangerine-wallet-browser-4cc0b1ef01573e1541d18bdcd89650e1db32ae9a.tar.gz
tangerine-wallet-browser-4cc0b1ef01573e1541d18bdcd89650e1db32ae9a.tar.bz2
tangerine-wallet-browser-4cc0b1ef01573e1541d18bdcd89650e1db32ae9a.tar.lz
tangerine-wallet-browser-4cc0b1ef01573e1541d18bdcd89650e1db32ae9a.tar.xz
tangerine-wallet-browser-4cc0b1ef01573e1541d18bdcd89650e1db32ae9a.tar.zst
tangerine-wallet-browser-4cc0b1ef01573e1541d18bdcd89650e1db32ae9a.zip
ganache-core merged my PR, so I changed some comments to clarify that ganache-core v2.2.1 and below will return the non-standard '0x0'
Diffstat (limited to 'old-ui')
-rw-r--r--old-ui/app/components/pending-tx.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/old-ui/app/components/pending-tx.js b/old-ui/app/components/pending-tx.js
index 7d8c94699..d8d2334a4 100644
--- a/old-ui/app/components/pending-tx.js
+++ b/old-ui/app/components/pending-tx.js
@@ -489,7 +489,7 @@ PendingTx.prototype.verifyGasParams = function () {
}
PendingTx.prototype._notZeroOrEmptyString = function (obj) {
- return obj !== '' && obj !== '0x0' && obj !== '0x' // The '0x' case might not ever happen, but it seems safest to protect against it
+ return obj !== '' && obj !== '0x0' && obj !== '0x' // '0x' means null
}
PendingTx.prototype.bnMultiplyByFraction = function (targetBN, numerator, denominator) {