Skip to content

Commit

Permalink
sb error messaging
Browse files Browse the repository at this point in the history
  • Loading branch information
0xodia committed Oct 7, 2024
1 parent 614eeb4 commit c459efe
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions solend-sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@solendprotocol/solend-sdk",
"version": "0.13.10",
"version": "0.13.11",
"private": true,
"main": "src/index.ts",
"module": "src/index.ts",
Expand Down Expand Up @@ -29,7 +29,7 @@
"@solana/web3.js": "=1.92.3",
"@solendprotocol/token2022-wrapper-sdk": "^1.0.1",
"@solflare-wallet/utl-sdk": "^1.4.0",
"@switchboard-xyz/on-demand": "1.2.27",
"@switchboard-xyz/on-demand": "^1.2.43",
"@switchboard-xyz/sbv2-lite": "^0.2.4",
"axios": "^0.24.0",
"bignumber.js": "^9.0.2",
Expand Down
6 changes: 5 additions & 1 deletion solend-sdk/src/core/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1207,12 +1207,16 @@ export class SolendActionCore {

await Promise.all(
res.map(async (oracleGroup) => {
const [ix, accountLookups] = await PullFeed.fetchUpdateManyIx(sbod, {
const [ix, accountLookups, responses] = await PullFeed.fetchUpdateManyIx(sbod, {
feeds: oracleGroup.map((p) => new PublicKey(p)),
numSignatures,
crossbarClient: crossbar,
})

if (responses.errors.length) {
console.error(responses.errors);
}

const lookupTables = (await loadLookupTables(feedAccounts)).concat(
accountLookups
);
Expand Down

0 comments on commit c459efe

Please sign in to comment.