From 919a26f2d4f6d990117259f855027b5b9691abf8 Mon Sep 17 00:00:00 2001 From: CHAMI Rachid Date: Mon, 14 Oct 2024 20:04:27 +0200 Subject: [PATCH] chore: appconsts godoc cosmetics (#3969) Just polishing some go docs --- pkg/appconsts/global_consts.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/appconsts/global_consts.go b/pkg/appconsts/global_consts.go index 2903da0414..424d4bbe3f 100644 --- a/pkg/appconsts/global_consts.go +++ b/pkg/appconsts/global_consts.go @@ -11,7 +11,7 @@ import ( // These constants were originally sourced from: // https://github.com/celestiaorg/celestia-specs/blob/master/src/specs/consensus.md#constants // -// They can not change throughout the lifetime of a network. +// They cannot change throughout the lifetime of a network. const ( // DefaultShareVersion is the defacto share version. Use this if you are // unsure of which version to use. @@ -20,7 +20,7 @@ const ( // MinSquareSize is the smallest original square width. MinSquareSize = 1 - // MinshareCount is the minimum number of shares allowed in the original + // MinShareCount is the minimum number of shares allowed in the original // data square. MinShareCount = MinSquareSize * MinSquareSize @@ -51,7 +51,7 @@ var ( SupportedShareVersions = share.SupportedShareVersions ) -// returns the delay in blocks after a quorum has been reached that the chain should upgrade to the new version. +// UpgradeHeightDelay returns the delay in blocks after a quorum has been reached that the chain should upgrade to the new version. func UpgradeHeightDelay() int64 { if OverrideUpgradeHeightDelayStr != "" { parsedValue, err := strconv.ParseInt(OverrideUpgradeHeightDelayStr, 10, 64)