fix for linting

feature/default_network_editable
Frankie 8 years ago
parent 580d93188c
commit 87505e1742
  1. 1
      app/scripts/transaction-manager.js
  2. 4
      test/unit/tx-manager-test.js

@ -3,6 +3,7 @@ const async = require('async')
const extend = require('xtend')
const Semaphore = require('semaphore')
const ethUtil = require('ethereumjs-util')
const BN = require('ethereumjs-util').BN
const TxProviderUtil = require('./lib/tx-utils')
const createId = require('./lib/random-id')

@ -23,7 +23,7 @@ describe('Transaction Manager', function() {
var sample = {
value: '0x01'
}
var res = txManager.validateTxParams(sample, (err) => {
var res = txManager.txProviderUtils.validateTxParams(sample, (err) => {
assert.equal(err, null, 'no error')
})
})
@ -33,7 +33,7 @@ describe('Transaction Manager', function() {
var sample = {
value: '-0x01'
}
var res = txManager.validateTxParams(sample, (err) => {
var res = txManager.txProviderUtils.validateTxParams(sample, (err) => {
assert.ok(err, 'error')
})
})

Loading…
Cancel
Save