Skip to content

Commit ef432e8

Browse files
authored
fix typo
1 parent 6414f35 commit ef432e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyth-sdk/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ let price_borrow: Price = btc_usd.get_borrow_valuation_price(
123123
borrows_endpoint,
124124
rate_premium_initial,
125125
rate_premium_final,
126-
discount_exponent).ok_or(StdError::not_found("Issue with querying collateral price"))?;
126+
discount_exponent).ok_or(StdError::not_found("Issue with querying borrow price"))?;
127127
println!("The valuation price for the borrow given {} tokens borrowed is ({} +- {}) x 10^{} USD",
128128
borrows, price_borrow.price, price_borrow.conf, price_borrow.expo);
129129
```

0 commit comments

Comments
 (0)