Skip to content

Commit

Permalink
fix wrong choices of src-noack/dst-noack for some commands
Browse files Browse the repository at this point in the history
Signed-off-by: Masanori Yoshida <[email protected]>
  • Loading branch information
siburu committed Aug 14, 2023
1 parent 9d1f3e4 commit 5df2d55
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ func queryUnrelayedAcknowledgements(ctx *config.Context) *cobra.Command {
return err
}

sp, err := st.UnrelayedAcknowledgements(c[src], c[dst], sh, true, true, true)
sp, err := st.UnrelayedAcknowledgements(c[src], c[dst], sh, true, false, false)
if err != nil {
return err
}
Expand Down
2 changes: 1 addition & 1 deletion cmd/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ func relayAcksCmd(ctx *config.Context) *cobra.Command {

// sp.Src contains all sequences acked on SRC but acknowledgement not processed on DST
// sp.Dst contains all sequences acked on DST but acknowledgement not processed on SRC
sp, err := st.UnrelayedAcknowledgements(c[src], c[dst], sh, false, true, true)
sp, err := st.UnrelayedAcknowledgements(c[src], c[dst], sh, false, false, false)
if err != nil {
return err
}
Expand Down

0 comments on commit 5df2d55

Please sign in to comment.