fix_: incorrect chain set for the destination chain when resolving candidates in router

This commit is contained in:
Sale Djenic 2024-06-14 10:17:19 +02:00 committed by saledjenic
parent 07882d9259
commit f54ed03e50
1 changed files with 1 additions and 1 deletions

View File

@ -561,7 +561,7 @@ func (r *Router) SuggestedRoutesV2(ctx context.Context, input *RouteInputParams)
candidates = append(candidates, &PathV2{
ProcessorName: pProcessor.Name(),
FromChain: network,
ToChain: network,
ToChain: dest,
FromToken: token,
AmountIn: (*hexutil.Big)(amountToSend),
AmountInLocked: amountLocked,