OSDN Git Service
(root)
/
bytom
/
vapor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eea317c
)
Del useless status update (#156)
author
yahtoo
<yahtoo.ma@gmail.com>
Tue, 11 Jun 2019 06:18:52 +0000
(14:18 +0800)
committer
Paladz
<yzhu101@uottawa.ca>
Tue, 11 Jun 2019 06:18:52 +0000
(14:18 +0800)
netsync/consensusmgr/block_fetcher.go
patch
|
blob
|
history
diff --git
a/netsync/consensusmgr/block_fetcher.go
b/netsync/consensusmgr/block_fetcher.go
index
dc42923
..
3c92b38
100644
(file)
--- a/
netsync/consensusmgr/block_fetcher.go
+++ b/
netsync/consensusmgr/block_fetcher.go
@@
-89,8
+89,6
@@
func (f *blockFetcher) insert(msg *blockMsg) {
return
}
- hash := msg.block.Hash()
- f.peers.SetStatus(msg.peerID, msg.block.Height, &hash)
proposeMsg, err := NewBlockProposeMsg(msg.block)
if err != nil {
logrus.WithFields(logrus.Fields{"module": logModule, "err": err}).Error("failed on create BlockProposeMsg")