CCQ/Mock: Solana min context slot is wrong

This commit is contained in:
Bruce Riley 2024-01-25 12:53:31 -06:00 committed by Evan Gray
parent a10aab1c6d
commit 76b81ee1f8
1 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ import { BinaryWriter } from "../query/BinaryWriter";
interface SolanaGetMultipleAccountsOpts {
commitment: string;
minSlotContext?: number;
minContextSlot?: number;
dataSlice?: SolanaDataSlice;
}
@ -414,7 +414,7 @@ export class QueryProxyMock {
commitment: query.commitment,
};
if (query.minContextSlot != BigInt(0)) {
opts.minSlotContext = Number(query.minContextSlot);
opts.minContextSlot = Number(query.minContextSlot);
}
if (query.dataSliceLength !== BigInt(0)) {
opts.dataSlice = {