1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
This commit is contained in:
Dan Finlay 2017-09-07 12:54:28 -07:00
parent 65c00e9fbb
commit d4d7c6d89e

View File

@ -1,5 +1,4 @@
const BN = require('ethereumjs-util').BN
const EthQuery = require('ethjs-query')
const normalize = require('eth-sig-util').normalize
class PendingBalanceCalculator {
@ -27,7 +26,7 @@ class PendingBalanceCalculator {
return total.add(this.valueFor(tx))
}, new BN(0))
return `0x${ balance.sub(pendingValue).toString(16) }`
return `0x${balance.sub(pendingValue).toString(16)}`
}
valueFor (tx) {