mirror of https://github.com/certusone/oyster.git
fix: filter uninitialized reserves
This commit is contained in:
parent
f7677aaf80
commit
c9787b15af
|
@ -99,6 +99,7 @@ export const LendingReserveParser = (
|
|||
) => {
|
||||
const buffer = Buffer.from(info.data);
|
||||
const data = LendingReserveLayout.decode(buffer);
|
||||
if (data.lastUpdateSlot.toNumber() === 0) return;
|
||||
|
||||
const details = {
|
||||
pubkey: pubKey,
|
||||
|
|
Loading…
Reference in New Issue