Skip to content

Commit

Permalink
fix: wrong paths ends
Browse files Browse the repository at this point in the history
  • Loading branch information
fragwuerdig committed Sep 23, 2024
1 parent 62ec4cc commit 75b84cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions relay/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,10 @@ func activateClientCmd(ctx *config.Context) *cobra.Command {
counterparty *core.ProvableChain
)
if viper.GetBool(flagSrc) {
pathEnd = path.Src
pathEnd = path.Dst
target, counterparty = c[src], c[dst]
} else {
pathEnd = path.Dst
pathEnd = path.Src
target, counterparty = c[dst], c[src]
}
return activateClient(pathEnd, target, counterparty, viper.GetDuration(flagRetryInterval), viper.GetUint(flagRetryMaxAttempts))
Expand Down

0 comments on commit 75b84cd

Please sign in to comment.