Skip to content

Commit 28ee4d3

Browse files
committed
note
1 parent be4b97e commit 28ee4d3

File tree

1 file changed

+3
-1
lines changed
  • packages/agent/src/swarm/investmentManager/plugins/degen-trader/services

1 file changed

+3
-1
lines changed

packages/agent/src/swarm/investmentManager/plugins/degen-trader/services/sellService.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export class SellService {
8080
`https://quote-api.jup.ag/v6/quote?inputMint=${
8181
signal.tokenAddress
8282
}&outputMint=So11111111111111111111111111111111111111112&amount=${
83-
Math.round(signal.amount * 1e9)
83+
Math.round(signal.amount * 1e9) // amount has to be lamports
8484
}&slippageBps=0`
8585
);
8686

@@ -96,6 +96,8 @@ export class SellService {
9696
}
9797

9898
// background, no await needed
99+
100+
// execute sell
99101
this.executeSell(signal).then(result => {
100102
console.log('executeSell - result', result)
101103
})

0 commit comments

Comments
 (0)