aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/dexon-foundation/dexon-consensus/core/agreement-mgr.go
diff options
context:
space:
mode:
authorJimmy Hu <jimmy.hu@dexon.org>2019-03-26 10:38:00 +0800
committerWei-Ning Huang <w@byzantine-lab.io>2019-06-13 18:11:44 +0800
commit2d92fa035aa8705d9f81a20dd454c6b8eeb25882 (patch)
tree6140eb824f0c5b0799fb9fdcea705c346104bbcb /vendor/github.com/dexon-foundation/dexon-consensus/core/agreement-mgr.go
parente9247b6b1eb13e77b248f9d8841eb06f50cf1297 (diff)
downloadgo-tangerine-2d92fa035aa8705d9f81a20dd454c6b8eeb25882.tar
go-tangerine-2d92fa035aa8705d9f81a20dd454c6b8eeb25882.tar.gz
go-tangerine-2d92fa035aa8705d9f81a20dd454c6b8eeb25882.tar.bz2
go-tangerine-2d92fa035aa8705d9f81a20dd454c6b8eeb25882.tar.lz
go-tangerine-2d92fa035aa8705d9f81a20dd454c6b8eeb25882.tar.xz
go-tangerine-2d92fa035aa8705d9f81a20dd454c6b8eeb25882.tar.zst
go-tangerine-2d92fa035aa8705d9f81a20dd454c6b8eeb25882.zip
vendor: sync to latest core (#300)
Diffstat (limited to 'vendor/github.com/dexon-foundation/dexon-consensus/core/agreement-mgr.go')
-rw-r--r--vendor/github.com/dexon-foundation/dexon-consensus/core/agreement-mgr.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/vendor/github.com/dexon-foundation/dexon-consensus/core/agreement-mgr.go b/vendor/github.com/dexon-foundation/dexon-consensus/core/agreement-mgr.go
index 14aa3857b..d29863df5 100644
--- a/vendor/github.com/dexon-foundation/dexon-consensus/core/agreement-mgr.go
+++ b/vendor/github.com/dexon-foundation/dexon-consensus/core/agreement-mgr.go
@@ -337,7 +337,7 @@ func (mgr *agreementMgr) runBA(initRound uint64) {
if curConfig = mgr.config(nextRound); curConfig != nil {
break
} else {
- mgr.logger.Debug("round is not ready", "round", nextRound)
+ mgr.logger.Debug("Round is not ready", "round", nextRound)
time.Sleep(1 * time.Second)
}
}
@@ -350,11 +350,11 @@ func (mgr *agreementMgr) runBA(initRound uint64) {
setting.notarySet = notarySet
_, isNotary = setting.notarySet[mgr.ID]
if isNotary {
- mgr.logger.Info("selected as notary set",
+ mgr.logger.Info("Selected as notary set",
"ID", mgr.ID,
"round", nextRound)
} else {
- mgr.logger.Info("not selected as notary set",
+ mgr.logger.Info("Not selected as notary set",
"ID", mgr.ID,
"round", nextRound)
}