Skip to content

Commit 9043381

Browse files
committed
small fixes
1 parent 31732d7 commit 9043381

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/dcaconfig-example.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ export const dcaconfig: DcaConfig[] = [
1313
outputToken: "USDC",
1414
amount: 0.01,
1515
slippage: 1,
16-
cron: "*/2 * * * *" // every t2 minutes
16+
cron: "*/2 * * * *" // every 2 minutes
1717
},
1818
{
1919
inputToken: "USDC",
2020
outputToken: "SOL",
2121
amount: 0.01,
2222
slippage: 1,
23-
cron: "*0 8 * * 0-6" // 8 AM everyday
23+
cron: "0 8 * * 0-6" // 8 AM everyday
2424
},
2525
{
2626
inputToken: "REKT", // invalid mint

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ const jupiterSwap = async ({
5555
} else {
5656
console.log(
5757
`${
58-
swapResult.inputAmount / (10 ** inputToken.decimals)} ${inputToken.symbol} -> ${swapResult.outputAmount / (10 ** inputToken.decimals)} ${outputToken.symbol} - https://solscan.io/tx/${swapResult.txid}`
58+
swapResult.inputAmount / (10 ** inputToken.decimals)} ${inputToken.symbol} -> ${swapResult.outputAmount / (10 ** inputToken.decimals)} ${outputToken.symbol}: https://solscan.io/tx/${swapResult.txid}`
5959
);
6060
}
6161
} else {

0 commit comments

Comments
 (0)