Skip to content

Commit

Permalink
Merge pull request #697 from blockchain/feature/improve-sell-flow
Browse files Browse the repository at this point in the history
fix(trigger coinify loading after second password prompt)
  • Loading branch information
prwelber committed Jun 27, 2018
2 parents ad22335 + 6fa63e6 commit 06612e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ export default ({ coreSagas }) => {

const sell = function * () {
try {
yield put(A.coinifyLoading())
const password = yield call(promptForSecondPassword)
yield put(A.coinifyLoading())
const trade = yield call(coreSagas.data.coinify.sell)

if (!trade) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,8 @@ export default ({ coreSagas }) => {
const submitSellQuote = function * (action) {
const q = action.payload
try {
yield put(A.sfoxLoading())
const password = yield call(promptForSecondPassword)
yield put(A.sfoxLoading())
const trade = yield call(coreSagas.data.sfox.handleSellTrade, q)

let p = yield select(sendBtcSelectors.getPayment)
Expand Down

0 comments on commit 06612e2

Please sign in to comment.