Skip to content

Commit

Permalink
Merge branch 'development' into feat/logging
Browse files Browse the repository at this point in the history
  • Loading branch information
schnogz committed Mar 11, 2019
2 parents 6ce422f + 8384312 commit 088f4c7
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const getMinConfirms = coin => {
const Confirmations = props => {
const { blockHeight, coin, txBlockHeight } = props
const conf = blockHeight - txBlockHeight + 1
const confirmations = conf > 0 ? conf : 0
const confirmations = conf > 0 && txBlockHeight ? conf : 0
const minConfirmations = getMinConfirms(coin)

return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ export default ({ coreSagas, networks }) => {
yield put(initialize(FORM, initialValues))
yield put(A.sendEthPaymentUpdatedSuccess(payment.value()))
} catch (e) {
yield put(A.sendEthPaymentUpdatedFailure(e))
yield put(
actions.logs.logErrorMessage(logLocation, 'sendEthInitialized', e)
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,6 @@ describe('sendEth sagas', () => {
saga
.restore(beforeEnd)
.throw(error)
.put(A.sendEthPaymentUpdatedFailure(error))
.next()
.put(
actions.logs.logErrorMessage(
logLocation,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ export default ({ coreSagas }) => {
yield put(touch(FORM, 'memo', 'memoType'))
yield put(A.paymentUpdatedSuccess(payment.value()))
} catch (e) {
yield put(A.paymentUpdatedFailure(e))
yield put(actions.logs.logErrorMessage(logLocation, 'initialized', e))
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,6 @@ describe('sendXlm sagas', () => {
saga
.restore(beforeEnd)
.throw(error)
.put(A.paymentUpdatedFailure(error))
.next()
.put(actions.logs.logErrorMessage(logLocation, 'initialized', error))
.next()
.isDone()
Expand Down

0 comments on commit 088f4c7

Please sign in to comment.