From 2c513375be14f30b71624d43cf9807f851aa5ca8 Mon Sep 17 00:00:00 2001 From: Cedric Fung Date: Wed, 28 Sep 2022 14:10:16 +0000 Subject: [PATCH] bump version to v0.14.3 --- config/config.go | 2 +- kernel/round.go | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/config/config.go b/config/config.go index 1d8c44408..7cabeb9d0 100644 --- a/config/config.go +++ b/config/config.go @@ -10,7 +10,7 @@ import ( const ( Debug = true - BuildVersion = "v0.14.2-BUILD_VERSION" + BuildVersion = "v0.14.3-BUILD_VERSION" MainnetId = "6430225c42bb015b4da03102fa962e4f4ef3969e03e04345db229f8377ef7997" diff --git a/kernel/round.go b/kernel/round.go index 403962943..a1a6b35ea 100644 --- a/kernel/round.go +++ b/kernel/round.go @@ -33,8 +33,6 @@ type FinalRound struct { func (node *Node) LoadAllChainsAndGraphTimestamp(store storage.Store, networkId crypto.Hash) error { nodes := node.NodesListWithoutState(uint64(clock.Now().UnixNano()), false) - logger.Printf("node.LoadAllChainsAndGraphTimestamp(%s) => %d", networkId, len(nodes)) - for _, cn := range nodes { if cn.State == common.NodeStatePledging || cn.State == common.NodeStateCancelled { continue @@ -48,6 +46,7 @@ func (node *Node) LoadAllChainsAndGraphTimestamp(store storage.Store, networkId node.GraphTimestamp = t } } + logger.Printf("node.LoadAllChainsAndGraphTimestamp(%s) => %d %d", networkId, len(nodes), node.GraphTimestamp) node.chains.RLock() for _, chain := range node.chains.m {