aboutsummaryrefslogtreecommitdiffstats
path: root/old-ui/app/components/pending-tx.js
diff options
context:
space:
mode:
Diffstat (limited to 'old-ui/app/components/pending-tx.js')
-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 c8132539c..7d8c94699 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'
+ return obj !== '' && obj !== '0x0' && obj !== '0x' // The '0x' case might not ever happen, but it seems safest to protect against it
}
PendingTx.prototype.bnMultiplyByFraction = function (targetBN, numerator, denominator) {