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

Commit ea26e6c

Browse files
Update pyth-common-js/src/PriceServiceConnection.ts
Co-authored-by: Ali Behjati <[email protected]>
1 parent eab1281 commit ea26e6c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pyth-common-js/src/PriceServiceConnection.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,8 @@ export class PriceServiceConnection {
151151

152152
/**
153153
* Fetch the earliest VAA of the given price id that is published since the given publish time.
154-
* This will throw an error if the given publish time is in the future, or if the price service does not have a db backend.
154+
* This will throw an error if the given publish time is in the future, or if the publish time
155+
* is old and the price service endpoint does not have a db backend for historical requests.
155156
* This will throw an axios error if there is a network problem or the price service returns a non-ok response (e.g: Invalid price id)
156157
*
157158
* This function is coupled to wormhole implemntation.

0 commit comments

Comments
 (0)