Skip to content

Commit 58f30cb

Browse files
CoderZhizjshen14
authored andcommitted
IOTEX-1025 update consensus messages (#1038)
1 parent 6e04b47 commit 58f30cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

consensus/scheme/rolldpos/rolldposctx.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,15 +237,15 @@ func (ctx *rollDPoSCtx) Prepare() (
237237
return
238238
}
239239
if isDelegate = ctx.round.IsDelegate(ctx.encodedAddr); !isDelegate {
240-
ctx.logger().Info("current node is not a delegate")
240+
ctx.logger().Info("current node is not an active consensus delegate")
241241
delay = ctx.round.NextRoundStartTime().Sub(ctx.clock.Now())
242242
return
243243
}
244244
if isProposer = ctx.round.Proposer() == ctx.encodedAddr; isProposer {
245245
ctx.logger().Info("current node is a proposer")
246246
proposal, err = ctx.mintBlock()
247247
} else {
248-
ctx.logger().Info("current node is a delegate")
248+
ctx.logger().Info("current node is an active consensus delegate")
249249
locked = ctx.round.IsLocked()
250250
}
251251
delay = ctx.round.StartTime().Sub(ctx.clock.Now())

0 commit comments

Comments
 (0)