comment update
This commit is contained in:
@@ -229,7 +229,7 @@ async function getQuoteFromHistoricalBlock(poolKey, targetBlock) {
|
|||||||
// Test USDC→USDT (forward direction)
|
// Test USDC→USDT (forward direction)
|
||||||
console.log('\n=== USDC → USDT (Forward Direction) ===');
|
console.log('\n=== USDC → USDT (Forward Direction) ===');
|
||||||
for (let i = 0; i < maxIterations; i++) {
|
for (let i = 0; i < maxIterations; i++) {
|
||||||
// Check if currentAmount exceeds 1 million
|
// Check if currentAmount exceeds 10 million
|
||||||
if (currentAmount > 10000000) {
|
if (currentAmount > 10000000) {
|
||||||
console.log(`\nReached maximum amount limit of 1 million USDC. Stopping iterations.`);
|
console.log(`\nReached maximum amount limit of 1 million USDC. Stopping iterations.`);
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user