mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Linted
This commit is contained in:
parent
65c00e9fbb
commit
d4d7c6d89e
@ -1,5 +1,4 @@
|
|||||||
const BN = require('ethereumjs-util').BN
|
const BN = require('ethereumjs-util').BN
|
||||||
const EthQuery = require('ethjs-query')
|
|
||||||
const normalize = require('eth-sig-util').normalize
|
const normalize = require('eth-sig-util').normalize
|
||||||
|
|
||||||
class PendingBalanceCalculator {
|
class PendingBalanceCalculator {
|
||||||
@ -27,7 +26,7 @@ class PendingBalanceCalculator {
|
|||||||
return total.add(this.valueFor(tx))
|
return total.add(this.valueFor(tx))
|
||||||
}, new BN(0))
|
}, new BN(0))
|
||||||
|
|
||||||
return `0x${ balance.sub(pendingValue).toString(16) }`
|
return `0x${balance.sub(pendingValue).toString(16)}`
|
||||||
}
|
}
|
||||||
|
|
||||||
valueFor (tx) {
|
valueFor (tx) {
|
||||||
|
Loading…
Reference in New Issue
Block a user