From ae06651ea95afa87a6e26dc81a0c2296b7b93d2b Mon Sep 17 00:00:00 2001 From: Dev Date: Fri, 5 Apr 2024 22:34:30 +0200 Subject: [PATCH] coding style fixes --- domain/consensus/utils/pow/pow.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/domain/consensus/utils/pow/pow.go b/domain/consensus/utils/pow/pow.go index 94ab63a544..fa59efb0f9 100644 --- a/domain/consensus/utils/pow/pow.go +++ b/domain/consensus/utils/pow/pow.go @@ -106,12 +106,12 @@ func NewState(header externalapi.MutableBlockHeader, generatedag bool) *State { } } -// Return the current hashing algo used +// GetHashingAlgoVersion returns the current hashing algo used func GetHashingAlgoVersion() string { return hashingAlgoVersion } -// Return the readiness state of the context +// IsContextReady returns the readiness state of the context func (state *State) IsContextReady() bool { if state != nil && &state.context != nil { return state.context.ready