Skip to content

Commit

Permalink
fix bugz
Browse files Browse the repository at this point in the history
  • Loading branch information
Empowerful committed Aug 27, 2019
1 parent a4542f2 commit af82321
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { promptForSecondPassword, promptForInput } from 'services/SagaService'
import { utils } from 'blockchain-wallet-v4/src'

const { IMPORT_ADDR } = model.analytics.ADDRESS_EVENTS
export default ({ api, coreSagas, imports: { securityModule }, networks }) => {
export default ({ api, coreSagas, networks }) => {
const logLocation = 'components/importBtcAddress/sagas'

const importBtcAddressSubmitClicked = function * () {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,9 @@ import Bitcoin from 'bitcoinjs-lib'
const api = {}
const networks = { btc: Bitcoin.networks['bitcoin'] }
const coreSagas = coreSagasFactory({ api })
const securityModule = {}
const { importLegacyAddress, importBtcAddressSubmitClicked } = sagas({
api,
coreSagas,
imports: { securityModule },
networks
})
const logLocation = 'components/importBtcAddress/sagas'
Expand All @@ -32,7 +30,6 @@ describe('importBtcAddress sagas', () => {
})
.call(
importLegacyAddress,
securityModule,
'1LM9wuwviAApr9y2nUrWaBadEZXJucsxLB',
'L1srees8FHP8v2yAv1b5JuZfCvqhVf37JUp5oHpFj1QtnPRyNRaB',
null,
Expand Down Expand Up @@ -68,7 +65,6 @@ describe('importBtcAddress sagas', () => {
.next()
.call(
importLegacyAddress,
securityModule,
undefined,
'6PYKXJ9yisUdA8Qxv3H1bzrsxhMABYNgLTKvpvEFqMRYA1oyAmn9gvzF3W',
null,
Expand Down
18 changes: 1 addition & 17 deletions webpack.config.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ module.exports = {
]
},
performance: {
hints: `warning`
hints: false
},
plugins: [
new CleanWebpackPlugin(),
Expand Down Expand Up @@ -180,22 +180,6 @@ module.exports = {
],
optimization: {
namedModules: true,
minimizer: [
new UglifyJSPlugin({
uglifyOptions: {
warnings: false,
compress: {
warnings: false,
keep_fnames: true
},
mangle: {
keep_fnames: true
}
},
parallel: true,
cache: true
})
],
concatenateModules: false,
runtimeChunk: {
name: `manifest.${manifestCacheBust}`
Expand Down

0 comments on commit af82321

Please sign in to comment.