Skip to content

Commit 40dc218

Browse files
committed
remove price separator
1 parent 04bc56a commit 40dc218

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

x/lending/types/lending.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ var (
2525
// initial borrow index
2626
InitialBorrowIndex = sdkmath.LegacyOneDec()
2727

28-
// price separator
29-
PriceSeparator = " "
30-
3128
// price precision
3229
PricePrecision = "0.001"
3330
)
@@ -114,7 +111,7 @@ func GetPricePair(poolConfig PoolConfig) string {
114111
func FormatPrice(price sdkmath.LegacyDec, pair string) string {
115112
decimalPrice, _ := decimal.NewFromString(price.String())
116113

117-
return fmt.Sprintf("%s%s%s", decimalPrice.String(), PriceSeparator, pair)
114+
return fmt.Sprintf("%s%s", decimalPrice.String(), pair)
118115
}
119116

120117
// NormalizePrice normalizes the given price

0 commit comments

Comments
 (0)