fix: filter uninitialized reserves

This commit is contained in:
Justin Starry 2020-11-27 02:12:40 +08:00
parent f7677aaf80
commit c9787b15af
1 changed files with 1 additions and 0 deletions

View File

@ -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,