Skip to content

Commit f1b02cf

Browse files
author
LazyLuis
committed
update
1 parent 62f7837 commit f1b02cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

x/oracle/types/price_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ func TestComputePrice(t *testing.T) {
2626
}
2727
for _, p := range testCases {
2828
// x
29-
pt := types.ComputePriceTable(p, false)
29+
pt := types.ComputePriceTable(p, types.U_PRICE)
3030
fmt.Printf("n: %g, len, %d pt: %v\n", p.MustFloat64(), len(pt), pt)
3131

3232
}
@@ -76,7 +76,7 @@ func TestComputePriceUp(t *testing.T) {
7676
}
7777
for _, p := range testCases {
7878
// x
79-
pt := types.ComputePriceTable(p, types.U_PRICE)
79+
pt := types.ComputePriceTable(p, types.BTC_PRICE)
8080
fmt.Printf("n: %g, len, %d pt: %v\n", p.MustFloat64(), len(pt), pt)
8181

8282
}

0 commit comments

Comments
 (0)