Skip to content

Commit

Permalink
update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
kingpinXD committed Feb 9, 2024
1 parent cd830fb commit ca87db9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions x/crosschain/keeper/msg_server_refund_aborted_tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ import (
"golang.org/x/net/context"
)

// RefundAbortedCCTX refunds the aborted CCTX.
// It verifies if the CCTX is aborted and not refunded, and if the refund address is valid.
// It refunds the amount to the refund address and sets the CCTX as refunded.
// Refer to documentation for GetRefundAddress for the refund address logic.
// Refer to documentation for GetAbortedAmount for the aborted amount logic.
func (k msgServer) RefundAbortedCCTX(goCtx context.Context, msg *types.MsgRefundAbortedCCTX) (*types.MsgRefundAbortedCCTXResponse, error) {

ctx := sdk.UnwrapSDKContext(goCtx)
Expand Down

0 comments on commit ca87db9

Please sign in to comment.