We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04bc56a commit 40dc218Copy full SHA for 40dc218
x/lending/types/lending.go
@@ -25,9 +25,6 @@ var (
25
// initial borrow index
26
InitialBorrowIndex = sdkmath.LegacyOneDec()
27
28
- // price separator
29
- PriceSeparator = " "
30
-
31
// price precision
32
PricePrecision = "0.001"
33
)
@@ -114,7 +111,7 @@ func GetPricePair(poolConfig PoolConfig) string {
114
111
func FormatPrice(price sdkmath.LegacyDec, pair string) string {
115
112
decimalPrice, _ := decimal.NewFromString(price.String())
116
113
117
- return fmt.Sprintf("%s%s%s", decimalPrice.String(), PriceSeparator, pair)
+ return fmt.Sprintf("%s%s", decimalPrice.String(), pair)
118
}
119
120
// NormalizePrice normalizes the given price
0 commit comments