fix: move ETH pending balance fix to wallet
This commit is contained in:
parent
9a074438bd
commit
caf2c83bfb
2 changed files with 5 additions and 4 deletions
|
|
@ -51,9 +51,7 @@ function getSingleCoinFunding (settings, fiatCode, cryptoCode) {
|
|||
const rate = (rates.ask.add(rates.bid)).div(2)
|
||||
const fundingConfirmedBalance = fundingRec.fundingConfirmedBalance
|
||||
const fiatConfirmedBalance = computeFiat(rate, cryptoCode, fundingConfirmedBalance)
|
||||
const pending = cryptoCode === 'ETH'
|
||||
? fundingRec.fundingPendingBalance - fundingRec.fundingConfirmedBalance
|
||||
: fundingRec.fundingPendingBalance
|
||||
const pending = fundingRec.fundingPendingBalance
|
||||
const fiatPending = computeFiat(rate, cryptoCode, pending)
|
||||
const fundingAddress = fundingRec.fundingAddress
|
||||
const fundingAddressUrl = coinUtils.buildUrl(cryptoCode, fundingAddress)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue