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
opt code
[bytom/vapor.git]
/
protocol
/
protocol.go
diff --git
a/protocol/protocol.go
b/protocol/protocol.go
index
168a9b3
..
7972d9e
100644
(file)
--- a/
protocol/protocol.go
+++ b/
protocol/protocol.go
@@
-213,7
+213,7
@@
func (c *Chain) syncProtocolStatus(subProtocol Protocoler) error {
return errors.Wrap(err, "failed on get sub protocol status")
}
- if
protocolHeight == c.bestBlockHeader.Height &&
*protocolHash == c.bestBlockHeader.Hash() {
+ if *protocolHash == c.bestBlockHeader.Hash() {
return nil
}