diff --git a/bindings/follow.go b/bindings/follow.go index 4a86934dbd3a8babff88094ccb770f56e74c03f7..14dc9e9aac77493bc2201bcca06f8b46f0aaec06 100644 --- a/bindings/follow.go +++ b/bindings/follow.go @@ -83,19 +83,21 @@ func (c *Cmix) WaitForNetwork(timeoutMS int) bool { // NetworkFollowerStatus gets the state of the network follower. It returns a // status with the following values: -// Stopped - 0 -// Running - 2000 -// Stopping - 3000 +// +// Status: +// - Stopped - 0 +// - Running - 2000 +// - Stopping - 3000 func (c *Cmix) NetworkFollowerStatus() int { return int(c.api.NetworkFollowerStatus()) } -// GetNodeRegistrationStatus returns the current state of nodes registration. +// GetNodeRegistrationStatus returns the current state of node registration. // // Returns: // - The number of nodes with which the user is registered. // - The number of nodes present in the NDF. -// - An error. This will most likely occur if the network is unhealthy. +// - An error will most likely occur if the network is unhealthy. func (c *Cmix) GetNodeRegistrationStatus() (int, int, error) { return c.api.GetNodeRegistrationStatus() } diff --git a/xxdk/cmix.go b/xxdk/cmix.go index dfde9ce0d01ff4241bacc4bf6fcf9b680859cb62..539c2610d55f23f3b26ed7aad70e0f563148cc39 100644 --- a/xxdk/cmix.go +++ b/xxdk/cmix.go @@ -446,7 +446,7 @@ func (c *Cmix) GetEventReporter() event.Reporter { // GetNodeRegistrationStatus gets the current state of nodes registration. It // returns the number of nodes that the user is currently registered with and -// the total number of nodes in the NDF and. An error is returned if the network +// the total number of nodes in the NDF. An error is returned if the network // is not healthy. func (c *Cmix) GetNodeRegistrationStatus() (int, int, error) { // Return an error if the network is not healthy