Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
affanv14 committed Sep 11, 2024
1 parent f1ef02c commit 0003bf8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions protocol/x/affiliates/keeper/msg_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ type msgServer struct {
}

// RegisterAffiliate implements types.MsgServer.
// This is only valid if a referee signs the message.
// For example, if Alice is the referee and Bob is the affiliate,
// then only Alice can register Bob as an affiliate. Any
// other signer that sends this message will be rejected.
func (k msgServer) RegisterAffiliate(ctx context.Context,
msg *types.MsgRegisterAffiliate) (*types.MsgRegisterAffiliateResponse, error) {
sdkCtx := sdk.UnwrapSDKContext(ctx)
Expand Down

0 comments on commit 0003bf8

Please sign in to comment.