File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ func (tx *NodeCreateTransaction) GetGossipEndpoints() []Endpoint {
127127 return tx .gossipEndpoints
128128}
129129
130- // SetServiceEndpoints the list of service endpoints for gossip.
130+ // SetGossipEndpoints the list of service endpoints for gossip.
131131func (tx * NodeCreateTransaction ) SetGossipEndpoints (gossipEndpoints []Endpoint ) * NodeCreateTransaction {
132132 tx ._RequireNotFrozen ()
133133 tx .gossipEndpoints = gossipEndpoints
Original file line number Diff line number Diff line change @@ -165,19 +165,19 @@ func (tx *NodeUpdateTransaction) SetDescription(description string) *NodeUpdateT
165165 return tx
166166}
167167
168- // SetDescription remove the description contents.
168+ // ClearDescription remove the description contents.
169169func (tx * NodeUpdateTransaction ) ClearDescription (description string ) * NodeUpdateTransaction {
170170 tx ._RequireNotFrozen ()
171171 tx .description = ""
172172 return tx
173173}
174174
175- // GetServiceEndpoints the list of service endpoints for gossip.
175+ // GetGossipEndpoints the list of service endpoints for gossip.
176176func (tx * NodeUpdateTransaction ) GetGossipEndpoints () []Endpoint {
177177 return tx .gossipEndpoints
178178}
179179
180- // SetServiceEndpoints the list of service endpoints for gossip.
180+ // SetGossipEndpoints the list of service endpoints for gossip.
181181func (tx * NodeUpdateTransaction ) SetGossipEndpoints (gossipEndpoints []Endpoint ) * NodeUpdateTransaction {
182182 tx ._RequireNotFrozen ()
183183 tx .gossipEndpoints = gossipEndpoints
Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ func (transfer _TokenNftTransfer) ToBytes() []byte {
9191 return data
9292}
9393
94- // TokenNftTransfersFromBytes returns the TokenNftTransfer from a raw protobuf bytes representation
94+ // NftTransferFromBytes returns the TokenNftTransfer from a raw protobuf bytes representation
9595func NftTransferFromBytes (data []byte ) (_TokenNftTransfer , error ) {
9696 if data == nil {
9797 return _TokenNftTransfer {}, errByteArrayNull
You can’t perform that action at this time.
0 commit comments