no two hp swap slippage

This commit is contained in:
thloyi
2026-04-20 16:31:18 +08:00
parent a765fafddd
commit 36da96eeaf
2 changed files with 3 additions and 1 deletions

View File

@@ -1152,6 +1152,7 @@ func orcaWhirPoolTwoHopSwapParser(tx *Tx, instruction Instruction, innerInstruct
limitMint,
actualLimitAmount,
)
swaps[0].SlippageBps = decimal.Zero
return swaps, offset, nil
}
@@ -1359,5 +1360,6 @@ func orcaWhirPoolTwoHopSwapV2Parser(tx *Tx, instruction Instruction, innerInstru
limitMint,
actualLimitAmount,
)
swaps[0].SlippageBps = decimal.Zero
return swaps, offset, nil
}