Skip to content

Commit

Permalink
Read relay config every times
Browse files Browse the repository at this point in the history
  • Loading branch information
fewensa committed May 29, 2024
1 parent 47581a5 commit 723dfcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/src/commands/relayer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ export default class Relayer extends Command {
const {args, flags} = await this.parse(Relayer)

const cliConfig = camelize(flags) as unknown as CliRelayerConfig;
const relayConfigs = await CommandHelper.buildRelayConfig(cliConfig);
let times = 0;
while(true) {
times += 1;
const relayConfigs = await CommandHelper.buildRelayConfig(cliConfig);
for (const rc of relayConfigs) {
const sourceToTargetLifecycle = await this.buildLifecycle(rc);
sourceToTargetLifecycle.times = times;
Expand Down

0 comments on commit 723dfcf

Please sign in to comment.