Skip to content
This repository was archived by the owner on Apr 3, 2023. It is now read-only.

Commit c6f3b74

Browse files
authored
Merge pull request #62 from pyth-network/oops
Fix formatting
2 parents 9a0ba57 + b0ad871 commit c6f3b74

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

pyth-aptos-js/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ module example::your_module {
6565
6666
public fun do_something(user: &signer, pyth_update_data: vector<vector<u8>>) {
6767
68-
// First update the Pyth price feeds. The user pays the fee for the update.
68+
// First update the Pyth price feeds. The user pays the fee for the update.
6969
let coins = coin::withdraw(user, pyth::get_update_fee());
7070
pyth::update_price_feeds(pyth_update_data, coins);
7171
@@ -104,7 +104,9 @@ This method is useful if you want to show continuously updating real-time prices
104104
// Subscribe to the price feeds given by `priceId`. The callback will be invoked every time the requested feed
105105
// gets a price update.
106106
connection.subscribePriceFeedUpdates(priceIds, (priceFeed) => {
107-
console.log(`Received update for ${priceFeed.id}: ${priceFeed.getPriceNoOlderThan(60)}`);
107+
console.log(
108+
`Received update for ${priceFeed.id}: ${priceFeed.getPriceNoOlderThan(60)}`
109+
);
108110
});
109111

110112
// When using the subscription, make sure to close the websocket upon termination to finish the process gracefully.

pyth-evm-js/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,9 @@ This method is useful if you want to show continuously updating real-time prices
109109
// Subscribe to the price feeds given by `priceId`. The callback will be invoked every time the requested feed
110110
// gets a price update.
111111
connection.subscribePriceFeedUpdates(priceIds, (priceFeed) => {
112-
console.log(`Received update for ${priceFeed.id}: ${priceFeed.getPriceNoOlderThan(60)}`);
112+
console.log(
113+
`Received update for ${priceFeed.id}: ${priceFeed.getPriceNoOlderThan(60)}`
114+
);
113115
});
114116

115117
// When using the subscription, make sure to close the websocket upon termination to finish the process gracefully.

0 commit comments

Comments
 (0)