CCQ/Mock: Solana min context slot is wrong
This commit is contained in:
parent
a10aab1c6d
commit
76b81ee1f8
|
@ -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 = {
|
||||
|
|
Loading…
Reference in New Issue