Skip to content

Commit

Permalink
Added doc-comments for DelegateDrain.
Browse files Browse the repository at this point in the history
  • Loading branch information
vvuwei committed Jun 28, 2023
1 parent ed122e1 commit c6adade
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/mempool/models/drain_delegate.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ type DelegateDrain struct {
tableName struct{} `pg:"drain_delegate"`

MempoolOperation
ConsensusKey int64 `json:"consensus_key"`
Delegate string `json:"delegate"`
Destination string `json:"destination"`
ConsensusKey int64 `json:"consensus_key" comment:"Consensus key that was used to sign Drain."` // DISCUSS
Delegate string `json:"delegate" comment:"Address of the drained delegate."`
Destination string `json:"destination" comment:"Address of the recipient account."`
}

// SetMempoolOperation -
Expand Down

0 comments on commit c6adade

Please sign in to comment.