Skip to content

Commit

Permalink
generate files
Browse files Browse the repository at this point in the history
  • Loading branch information
kingpinXD committed Dec 9, 2024
1 parent 4de328d commit 49f8bda
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion x/crosschain/keeper/msg_server_vote_outbound_tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,10 @@ func (k msgServer) VoteOutbound(

// If the CCTX is in a terminal state, we do not need to process it.
if cctx.CctxStatus.Status.IsTerminal() {
return &types.MsgVoteOutboundResponse{}, cosmoserrors.Wrap(types.ErrCCTXAlreadyFinalized, fmt.Sprintf("CCTX status %s", cctx.CctxStatus.Status))
return &types.MsgVoteOutboundResponse{}, cosmoserrors.Wrap(
types.ErrCCTXAlreadyFinalized,
fmt.Sprintf("CCTX status %s", cctx.CctxStatus.Status),
)
}

// Set the finalized ballot to the current outbound params.
Expand Down

0 comments on commit 49f8bda

Please sign in to comment.