We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1574d5c commit 28d28aeCopy full SHA for 28d28ae
src/execution/RouteExecutionManager.ts
@@ -142,6 +142,10 @@ export class RouteExecutionManager {
142
// Update amount using output of previous execution. In the future this should be handled by calling `updateRoute`
143
if (previousStep?.execution?.toAmount) {
144
step.action.fromAmount = previousStep.execution.toAmount
145
+ if (step.includedSteps?.length) {
146
+ step.includedSteps[0].action.fromAmount =
147
+ previousStep.execution.toAmount
148
+ }
149
}
150
151
try {
0 commit comments