Skip to content

Commit

Permalink
(NOBIDS) (#2677)
Browse files Browse the repository at this point in the history
  • Loading branch information
D13ce authored Nov 7, 2023
1 parent 205798c commit 453c1dc
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions utils/format.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,11 +140,6 @@ func FormatBalanceGwei(balance *int64, currency string) template.HTML {
return FormatBalanceChange(balance, currency)
}

func CurrencyToCl(valIf interface{}, currency string) decimal.Decimal {
val := IfToDec(valIf)
return val.Mul(decimal.NewFromFloat(price.GetPrice(Config.Frontend.ClCurrency, currency)))
}

func ClToMainCurrency(valIf interface{}) decimal.Decimal {
val := IfToDec(valIf)
res := val.DivRound(decimal.NewFromInt(Config.Frontend.ClCurrencyDivisor), 18)
Expand Down

0 comments on commit 453c1dc

Please sign in to comment.