From 4e221d9ecac80b98706ec098f34d2bd3192ca699 Mon Sep 17 00:00:00 2001 From: Philip London Date: Tue, 29 Oct 2019 17:25:50 +0100 Subject: [PATCH] feat(Blockstack): 2nd password for stx derivation --- .../src/data/modules/profile/sagas.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/blockchain-wallet-v4-frontend/src/data/modules/profile/sagas.js b/packages/blockchain-wallet-v4-frontend/src/data/modules/profile/sagas.js index 202c7b6d7db..940f238cb73 100644 --- a/packages/blockchain-wallet-v4-frontend/src/data/modules/profile/sagas.js +++ b/packages/blockchain-wallet-v4-frontend/src/data/modules/profile/sagas.js @@ -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 @@ -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