From e4485257292734e22b3844089a3e03393f9eec7f Mon Sep 17 00:00:00 2001 From: Jimmy Hu Date: Wed, 24 Apr 2019 15:26:36 +0800 Subject: vendor: sync to latest core (#392) --- vendor/github.com/dexon-foundation/dexon-consensus/core/consensus.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vendor/github.com/dexon-foundation/dexon-consensus') 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) -- cgit v1.2.3