From ef61a3e1d85325cc9a02015f0f17c5a56f1943ca Mon Sep 17 00:00:00 2001 From: zhi Date: Tue, 16 Apr 2019 11:58:41 -0700 Subject: [PATCH] IOTEX-1025 update consensus messages --- consensus/scheme/rolldpos/rolldposctx.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/consensus/scheme/rolldpos/rolldposctx.go b/consensus/scheme/rolldpos/rolldposctx.go index f4dfd0867c..7382eabcbe 100644 --- a/consensus/scheme/rolldpos/rolldposctx.go +++ b/consensus/scheme/rolldpos/rolldposctx.go @@ -237,7 +237,7 @@ func (ctx *rollDPoSCtx) Prepare() ( return } if isDelegate = ctx.round.IsDelegate(ctx.encodedAddr); !isDelegate { - ctx.logger().Info("current node is not a delegate") + ctx.logger().Info("current node is not an active consensus delegate") delay = ctx.round.NextRoundStartTime().Sub(ctx.clock.Now()) return } @@ -245,7 +245,7 @@ func (ctx *rollDPoSCtx) Prepare() ( ctx.logger().Info("current node is a proposer") proposal, err = ctx.mintBlock() } else { - ctx.logger().Info("current node is a delegate") + ctx.logger().Info("current node is an active consensus delegate") locked = ctx.round.IsLocked() } delay = ctx.round.StartTime().Sub(ctx.clock.Now())