Skip to content

Commit

Permalink
fix: variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
semeano committed Jan 2, 2025
1 parent 3e5bad3 commit 143a10b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libs/ledger-live-common/src/families/aptos/api/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,13 +167,13 @@ export class AptosAPI {
}
}

private async fetchTransactions(address: string, startAt?: string) {
private async fetchTransactions(address: string, gt?: string) {
if (!address) {
return [];
}

let query = GetAccountTransactionsData;
if (startAt) {
if (gt) {
query = GetAccountTransactionsDataGt;
}

Expand All @@ -187,7 +187,7 @@ export class AptosAPI {
limit: 1000,
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
gt: startAt,
gt,
},
fetchPolicy: "network-only",
});
Expand Down

0 comments on commit 143a10b

Please sign in to comment.