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:
78ba4ec
)
fix rollback exception
fix_rollback_exception
author
shenao78
<shenao.78@163.com>
Wed, 12 Aug 2020 11:05:35 +0000
(19:05 +0800)
committer
shenao78
<shenao.78@163.com>
Wed, 12 Aug 2020 11:05:35 +0000
(19:05 +0800)
protocol/block.go
patch
|
blob
|
history
diff --git
a/protocol/block.go
b/protocol/block.go
index
52eab1b
..
54b5f04
100644
(file)
--- a/
protocol/block.go
+++ b/
protocol/block.go
@@
-20,6
+20,7
@@
var (
// BlockExist check is a block in chain or orphan
func (c *Chain) BlockExist(hash *bc.Hash) bool {
+ return false
if _, err := c.store.GetBlockHeader(hash); err == nil {
return true
}