Skip to content

Commit

Permalink
fix: use correct bool to check if connecting rollapp <-> hub
Browse files Browse the repository at this point in the history
  • Loading branch information
danwt committed Sep 11, 2024
1 parent cc94f19 commit c2861fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@ func isRollapp(src, dst *relayer.Chain) bool {
if !ok {
return false
}
return srcP.DymHub || dstP.DymHub
return srcP.DymRollapp || dstP.DymRollapp
}

func closeChannelCmd(a *appState) *cobra.Command {
Expand Down

0 comments on commit c2861fd

Please sign in to comment.