Skip to content

Commit

Permalink
using bytes32 method
Browse files Browse the repository at this point in the history
  • Loading branch information
freemanzMrojo committed Dec 9, 2024
1 parent 0157c13 commit 454012d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/thor/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,7 @@ func printStartupMessage1(
}

func getOrCreateDevnetID() thor.Bytes32 {
if devNetGenesisID == (thor.Bytes32{}) {
if devNetGenesisID.IsZero() {
devNetGenesisID = genesis.NewDevnet().ID()
}
return devNetGenesisID
Expand Down

0 comments on commit 454012d

Please sign in to comment.