Skip to content

Commit 3fc3b71

Browse files
committed
Fix
1 parent 1a2d408 commit 3fc3b71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyth-sdk-solana/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ println!("price: ({} +- {}) x 10^{}", current_price.price, current_price.conf, c
4848
The `PriceFeed` object returned by `load_price_feed_from_account_info` contains all currently-available pricing information about the product.
4949
This struct also has some useful functions for manipulating and combining prices; see the [common SDK documentation](../pyth-sdk) for more details.
5050

51-
The function `get_price_no_older_than` takes in an `age` in seconds. If the current aggregate is older than `current_timestamp - age`, `get_price_no_older_than` will return `None`.
51+
The function `get_price_no_older_than` takes in an `age` in seconds. If the current on-chain aggregate is older than `current_timestamp - age`, `get_price_no_older_than` will return `None`.
5252

5353
Note that your application should also validate the address of the passed-in price account before using it.
5454
Otherwise, an attacker could pass in a different account and set the price to an arbitrary value.

0 commit comments

Comments
 (0)