From 284b4c8b17632b13029f86e1a6f426bda5a6eba7 Mon Sep 17 00:00:00 2001 From: Naohiro Yoshida Date: Thu, 11 Jul 2024 21:20:29 +0900 Subject: [PATCH] print log only when blocks per epoch is not default Signed-off-by: Naohiro Yoshida --- module/constant/development.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/module/constant/development.go b/module/constant/development.go index 55fd69b..042841f 100644 --- a/module/constant/development.go +++ b/module/constant/development.go @@ -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) + } }