From c6adadef400195e352d5dedf4ab015df5543c9b7 Mon Sep 17 00:00:00 2001 From: Lavysh Alexander Date: Wed, 28 Jun 2023 14:52:37 +0300 Subject: [PATCH] Added doc-comments for DelegateDrain. --- cmd/mempool/models/drain_delegate.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/mempool/models/drain_delegate.go b/cmd/mempool/models/drain_delegate.go index 08a6729..2589115 100644 --- a/cmd/mempool/models/drain_delegate.go +++ b/cmd/mempool/models/drain_delegate.go @@ -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 -