mirror of
https://github.com/tymur999/profit-script.git
synced 2025-08-05 08:10:36 +00:00
fixed 2
This commit is contained in:
@@ -8,7 +8,7 @@ async function calculatePumpFunProfit(walletAddress: PublicKey, myToken: PublicK
|
|||||||
const sigs: ConfirmedSignatureInfo[] = [];
|
const sigs: ConfirmedSignatureInfo[] = [];
|
||||||
let lastTxn: string | undefined = undefined;
|
let lastTxn: string | undefined = undefined;
|
||||||
do {
|
do {
|
||||||
const newSigs = await connection.getSignaturesForAddress(myToken, {limit: 1000, before: lastTxn});
|
const newSigs = await connection.getSignaturesForAddress(walletAddress, {limit: 1000, before: lastTxn});
|
||||||
if(!newSigs.length) break;
|
if(!newSigs.length) break;
|
||||||
sigs.push(
|
sigs.push(
|
||||||
...newSigs
|
...newSigs
|
||||||
|
Reference in New Issue
Block a user