Skip to content

Commit

Permalink
feat(Blockstack): 2nd password for stx derivation
Browse files Browse the repository at this point in the history
  • Loading branch information
Philip London committed Oct 29, 2019
1 parent 3f683bb commit 4e221d9
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -27,6 +27,7 @@ import * as A from './actions'
import * as AT from './actionTypes'
import * as S from './selectors'
import { KYC_STATES, USER_ACTIVATION_STATES } from './model'
import { promptForSecondPassword } from 'services/SagaService'

const { AB_TESTS } = model.analytics

Expand All @@ -50,8 +51,7 @@ export default ({ api, coreSagas, networks }) => {
}
}
if (campaign.name === 'BLOCKSTACK') {
// 2nd pw check
const password = null
let password = yield call(promptForSecondPassword)
yield put(actions.core.data.stx.generateAddress(password))
const { payload } = yield take(actions.core.data.stx.setAddress)
const { address } = payload
Expand Down

0 comments on commit 4e221d9

Please sign in to comment.