Skip to content

Commit

Permalink
coding style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Dev committed Apr 5, 2024
1 parent ae06651 commit 069b067
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion domain/consensus/utils/pow/pow.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ func GetHashingAlgoVersion() string {

// IsContextReady returns the readiness state of the context
func (state *State) IsContextReady() bool {
if state != nil && &state.context != nil {
if state != nil {
return state.context.ready
}
return false
Expand Down

0 comments on commit 069b067

Please sign in to comment.