OSDN Git Service
(root)
/
bytom
/
vapor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix review
[bytom/vapor.git]
/
protocol
/
consensus_node_manager.go
diff --git
a/protocol/consensus_node_manager.go
b/protocol/consensus_node_manager.go
index
874331b
..
282923c
100644
(file)
--- a/
protocol/consensus_node_manager.go
+++ b/
protocol/consensus_node_manager.go
@@
-61,11
+61,7
@@
func (c *consensusNodeManager) isBlocker(prevBlockHash *bc.Hash, pubKey string,
return false, err
}
- consensusNode, exist := consensusNodeMap[pubKey]
- if !exist {
- return false, errNotFoundConsensusNode
- }
-
+ consensusNode := consensusNodeMap[pubKey]
if consensusNode == nil {
return false, nil
}