Skip to content

Commit

Permalink
print log only when blocks per epoch is not default
Browse files Browse the repository at this point in the history
Signed-off-by: Naohiro Yoshida <[email protected]>
  • Loading branch information
Naohiro Yoshida committed Jul 11, 2024
1 parent cf4c1ff commit 284b4c8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion module/constant/development.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,7 @@ func init() {
panic(err)
}
BlocksPerEpoch = uint64(iBlocksPerEpoch)
log.Printf("blocks per epoch = %d", BlocksPerEpoch)
if BlocksPerEpoch != 200 {
log.Printf("blocks per epoch = %d", BlocksPerEpoch)
}
}

0 comments on commit 284b4c8

Please sign in to comment.