aboutsummaryrefslogtreecommitdiffstats
path: root/old-ui
diff options
context:
space:
mode:
authorHoward Braham <howrad@gmail.com>2018-09-18 11:04:10 +0800
committerHoward Braham <howrad@gmail.com>2018-10-10 06:31:25 +0800
commit222e62d7f10ffe22dd606aea9c15e1547986c4ab (patch)
tree4b3cb0d4853d9a1408dc8b28bfdf9d9abb2f2ad5 /old-ui
parentdb4569e920b01791edb2bab8f87dcfd9596b1837 (diff)
downloadtangerine-wallet-browser-222e62d7f10ffe22dd606aea9c15e1547986c4ab.tar.gz
tangerine-wallet-browser-222e62d7f10ffe22dd606aea9c15e1547986c4ab.tar.zst
tangerine-wallet-browser-222e62d7f10ffe22dd606aea9c15e1547986c4ab.zip
Bug Fix: #1789 and #4525 eth.getCode() with no contract
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 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) {