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 cc1274b commit 6eabcd1Copy full SHA for 6eabcd1
CHANGELOG.md
@@ -1,5 +1,11 @@
1
# Changelog
2
3
+## 1.0.7
4
+
5
+### Changed
6
7
+allow nextPriceAccountKey to be null
8
9
## 1.0.6
10
11
### Changed
src/index.ts
@@ -129,7 +129,7 @@ export const parsePriceData = (data: Buffer) => {
129
// product id / reference account
130
const productAccountKey = new PublicKey(data.slice(48, 80))
131
// next price account in list
132
- const nextPriceAccountKey = new PublicKey(data.slice(80, 112))
+ const nextPriceAccountKey = PKorNull(data.slice(80, 112))
133
// aggregate price updater
134
const aggregatePriceUpdaterAccountKey = new PublicKey(data.slice(112, 144))
135
const aggregatePriceInfo = parsePriceInfo(data.slice(144, 176), exponent)
0 commit comments