From 232d63035321a2fddc0926f6986a7b8d49687976 Mon Sep 17 00:00:00 2001 From: Jackson Jessup Date: Thu, 1 Dec 2022 10:33:54 -0500 Subject: [PATCH] lint fixes --- javascript/solana.js/src/accounts/crankAccount.ts | 1 - javascript/solana.js/src/accounts/queueAccount.ts | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/javascript/solana.js/src/accounts/crankAccount.ts b/javascript/solana.js/src/accounts/crankAccount.ts index 197ca2d..77a773b 100644 --- a/javascript/solana.js/src/accounts/crankAccount.ts +++ b/javascript/solana.js/src/accounts/crankAccount.ts @@ -1,7 +1,6 @@ import * as anchor from '@project-serum/anchor'; import { TOKEN_PROGRAM_ID } from '@solana/spl-token'; import { - AccountInfo, AccountMeta, Commitment, Keypair, diff --git a/javascript/solana.js/src/accounts/queueAccount.ts b/javascript/solana.js/src/accounts/queueAccount.ts index 4fef05b..337d3f1 100644 --- a/javascript/solana.js/src/accounts/queueAccount.ts +++ b/javascript/solana.js/src/accounts/queueAccount.ts @@ -527,7 +527,7 @@ export class QueueAccount extends Account { } if (params.historyLimit && params.historyLimit > 0) { - const [historyBufferInit, historyBuffer] = + const [historyBufferInit] = await AggregatorHistoryBuffer.createInstructions(this.program, payer, { aggregatorAccount, maxSamples: params.historyLimit,