solana.js: published 2.0.53
This commit is contained in:
parent
87c9092ea0
commit
55b8bb10ae
|
@ -333,7 +333,6 @@ export class CrankAccount extends Account<types.CrankAccountData> {
|
||||||
num?: number,
|
num?: number,
|
||||||
unixTimestamp?: number
|
unixTimestamp?: number
|
||||||
): Promise<PublicKey[]> {
|
): Promise<PublicKey[]> {
|
||||||
|
|
||||||
const now = unixTimestamp ?? Math.floor(Date.now() / 1000);
|
const now = unixTimestamp ?? Math.floor(Date.now() / 1000);
|
||||||
const crankRows = await this.peakNextWithTime(num);
|
const crankRows = await this.peakNextWithTime(num);
|
||||||
return crankRows
|
return crankRows
|
||||||
|
|
Loading…
Reference in New Issue