diff options
Diffstat (limited to 'ui/app')
-rw-r--r-- | ui/app/components/pending-tx-details.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/app/components/pending-tx-details.js b/ui/app/components/pending-tx-details.js index c826d9da3..8ecca856a 100644 --- a/ui/app/components/pending-tx-details.js +++ b/ui/app/components/pending-tx-details.js @@ -34,7 +34,7 @@ PTXP.render = function () { var gasCost = ethUtil.stripHexPrefix(txParams.gas || baseFeeHex) var txValue = ethUtil.stripHexPrefix(txParams.value || '0x0') var maxCost = ((new BN(txValue, 16)).add(new BN(gasCost, 16))).toString(16) - var dataLength = txParams.data ? txParams.data.length - 2 : 0 + var dataLength = txParams.data ? (txParams.data.length - 2) / 2 : 0 console.dir(identity) console.dir({props}) |