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 6414f35 commit ef432e8Copy full SHA for ef432e8
pyth-sdk/README.md
@@ -123,7 +123,7 @@ let price_borrow: Price = btc_usd.get_borrow_valuation_price(
123
borrows_endpoint,
124
rate_premium_initial,
125
rate_premium_final,
126
- discount_exponent).ok_or(StdError::not_found("Issue with querying collateral price"))?;
+ discount_exponent).ok_or(StdError::not_found("Issue with querying borrow price"))?;
127
println!("The valuation price for the borrow given {} tokens borrowed is ({} +- {}) x 10^{} USD",
128
borrows, price_borrow.price, price_borrow.conf, price_borrow.expo);
129
```
0 commit comments