Skip to content

Commit

Permalink
fix: undo previous check in sendBatchMessages
Browse files Browse the repository at this point in the history
  • Loading branch information
jtieri committed Feb 22, 2024
1 parent 2e457c2 commit 73785a3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions relayer/processor/message_processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -434,9 +434,7 @@ func (mp *messageProcessor) sendBatchMessages(
} else {
// messages are batch with appended MsgUpdateClient
msgs = make([]provider.RelayerMessage, 1+len(batch))
if mp.msgUpdateClient != nil {
msgs[0] = mp.msgUpdateClient
}
msgs[0] = mp.msgUpdateClient

for i, t := range batch {
msgs[i+1] = t.assembledMsg()
Expand Down

0 comments on commit 73785a3

Please sign in to comment.