Skip to content

Commit 1970a2a

Browse files
committed
doc: update readme
1 parent e9445f5 commit 1970a2a

File tree

1 file changed

+1
-1
lines changed
  • target_chains/solana/sdk/js/pyth_solana_receiver

1 file changed

+1
-1
lines changed

target_chains/solana/sdk/js/pyth_solana_receiver/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ const transactionBuilder = pythSolanaReceiver.newTransactionBuilder({
195195
await transactionBuilder.addPostTwapUpdates(binary_data_array);
196196

197197
// You can now use the TWAP prices in subsequent instructions
198-
await transactionBuilder.addPriceConsumerInstructions(
198+
await transactionBuilder.addTwapConsumerInstructions(
199199
async (
200200
getTwapUpdateAccount: (priceFeedId: string) => PublicKey
201201
): Promise<InstructionWithEphemeralSigners[]> => {

0 commit comments

Comments
 (0)