Fix balance calc test

feature/default_network_editable
Dan Finlay 7 years ago
parent 74c6de7d23
commit a95a3c7e4f
  1. 2
      app/scripts/lib/pending-balance-calculator.js
  2. 2
      test/unit/pending-balance-test.js

@ -25,6 +25,8 @@ class PendingBalanceCalculator {
const pending = results[1]
console.dir(pending)
console.dir(balance.toString())
console.trace('but why')
const pendingValue = pending.reduce((total, tx) => {
return total.add(this.valueFor(tx))

@ -32,7 +32,7 @@ describe('PendingBalanceCalculator', function () {
describe('if you have no pending txs and one ether', function () {
beforeEach(function () {
balanceCalculator = generateBalanceCalcWith([], zeroBn)
balanceCalculator = generateBalanceCalcWith([], etherBn)
})
it('returns the network balance', async function () {

Loading…
Cancel
Save