aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com
diff options
context:
space:
mode:
authorJimmy Hu <jimmy.hu@dexon.org>2019-04-24 15:26:36 +0800
committerWei-Ning Huang <w@byzantine-lab.io>2019-06-15 22:09:56 +0800
commit3669053d5a73a37127ab5d9a7fc23f2e8198f813 (patch)
tree862b9c3b72882a0ad11b343c773495565bce3205 /vendor/github.com
parent39c5430303e34f1b5d2712fdb4d13c9e9f9ade48 (diff)
downloadgo-tangerine-3669053d5a73a37127ab5d9a7fc23f2e8198f813.tar.gz
go-tangerine-3669053d5a73a37127ab5d9a7fc23f2e8198f813.tar.zst
go-tangerine-3669053d5a73a37127ab5d9a7fc23f2e8198f813.zip
vendor: sync to latest core (#392)
Diffstat (limited to 'vendor/github.com')
-rw-r--r--vendor/github.com/dexon-foundation/dexon-consensus/core/consensus.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/github.com/dexon-foundation/dexon-consensus/core/consensus.go b/vendor/github.com/dexon-foundation/dexon-consensus/core/consensus.go
index 3443c9676..a1def58e0 100644
--- a/vendor/github.com/dexon-foundation/dexon-consensus/core/consensus.go
+++ b/vendor/github.com/dexon-foundation/dexon-consensus/core/consensus.go
@@ -224,7 +224,7 @@ func (recv *consensusBAReceiver) ConfirmBlock(
var exist bool
block, exist = recv.agreementModule.findBlockNoLock(hash)
if !exist {
- recv.consensus.logger.Error("Unknown block confirmed",
+ recv.consensus.logger.Debug("Unknown block confirmed",
"hash", hash.String()[:6])
ch := make(chan *types.Block)
func() {
@@ -245,7 +245,7 @@ func (recv *consensusBAReceiver) ConfirmBlock(
case <-time.After(1 * time.Second):
}
}
- recv.consensus.logger.Info("Receive unknown block",
+ recv.consensus.logger.Debug("Receive unknown block",
"hash", hash.String()[:6],
"position", block.Position)
recv.agreementModule.addCandidateBlock(block)