diff --git a/x/crosschain/keeper/cctx.go b/x/crosschain/keeper/cctx.go index 59e5698af7..91d1735604 100644 --- a/x/crosschain/keeper/cctx.go +++ b/x/crosschain/keeper/cctx.go @@ -91,7 +91,7 @@ func (k Keeper) SetNonceToCCTXMapping( // SetCrossChainTx set a specific cctx in the store from its index func (k Keeper) SetCrossChainTx(ctx sdk.Context, cctx types.CrossChainTx) { - // only set the update timestamp if the block height is >0 to allow + // only set the updated timestamp if the block height is >0 to allow // for a genesis import if cctx.CctxStatus != nil && ctx.BlockHeight() > 0 { cctx.CctxStatus.LastUpdateTimestamp = ctx.BlockHeader().Time.Unix() diff --git a/x/crosschain/keeper/msg_server_abort_stuck_cctx.go b/x/crosschain/keeper/msg_server_abort_stuck_cctx.go index 6dbb5ac4dd..94eee89b1d 100644 --- a/x/crosschain/keeper/msg_server_abort_stuck_cctx.go +++ b/x/crosschain/keeper/msg_server_abort_stuck_cctx.go @@ -43,7 +43,8 @@ func (k msgServer) AbortStuckCCTX( // update the status cctx.CctxStatus.UpdateStatusAndErrorMessages(types.CctxStatus_Aborted, AbortMessage, "") - // Save out outbound, we do not need to provide the tss-pubkey as NonceToCctx is not updated + // Save out outbound, + // We do not need to provide the tss-pubkey as NonceToCctx is not updated / New outbound is not added k.SaveOutbound(ctx, &cctx, "") return &types.MsgAbortStuckCCTXResponse{}, nil