fix_: incorrect chain set for the destination chain when resolving candidates in router
This commit is contained in:
parent
07882d9259
commit
f54ed03e50
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue