Skip to content

Commit

Permalink
feat(sell p3): send from non custodial
Browse files Browse the repository at this point in the history
  • Loading branch information
Philip London committed Nov 20, 2020
1 parent 9111b83 commit ad0dabc
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -712,10 +712,7 @@ export default ({
formValues.amount
)

const cryptoAmt =
formValues.fix === 'CRYPTO'
? convertStandardToBase(account.coin, formValues.amount)
: amt
const cryptoAmt = formValues.fix === 'CRYPTO' ? formValues.amount : amt

if (account.type === 'CUSTODIAL') return
// @ts-ignore
Expand Down

0 comments on commit ad0dabc

Please sign in to comment.