Skip to content

Commit

Permalink
Merge pull request #33 from Vsc-blockchain/frag/fix-path-ends
Browse files Browse the repository at this point in the history
fix: wrong paths ends

Signed-off-by: Jun Kimura <[email protected]>
  • Loading branch information
bluele authored Oct 15, 2024
2 parents 62ec4cc + 75b84cd commit 9708e00
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 9708e00

Please sign in to comment.