Skip to content

Commit 8be6977

Browse files
committed
fix adminClient and tests
1 parent 6cfa245 commit 8be6977

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

sdk/src/adminClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3181,7 +3181,7 @@ export class AdminClient extends DriftClient {
31813181
this.program.programId,
31823182
perpMarketIndex
31833183
),
3184-
amm_cache: getAmmCachePublicKey(this.program.programId),
3184+
ammCache: getAmmCachePublicKey(this.program.programId),
31853185
},
31863186
}
31873187
);

tests/lpPoolSwap.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,7 @@ describe('LP Pool', () => {
296296

297297
after(async () => {
298298
await adminClient.unsubscribe();
299+
await serumDriftClient.unsubscribe();
299300
});
300301

301302
it('LP Pool init properly', async () => {

0 commit comments

Comments
 (0)