no two hp swap slippage
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user