mirror of
https://github.com/tymur999/profit-script.git
synced 2025-08-03 07:10:34 +00:00
fixed 2
This commit is contained in:
@@ -8,7 +8,7 @@ async function calculatePumpFunProfit(walletAddress: PublicKey, myToken: PublicK
|
||||
const sigs: ConfirmedSignatureInfo[] = [];
|
||||
let lastTxn: string | undefined = undefined;
|
||||
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;
|
||||
sigs.push(
|
||||
...newSigs
|
||||
|
Reference in New Issue
Block a user