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:
c24c174
)
fix net issue
author
paladz
<453256728@qq.com>
Fri, 22 May 2020 17:25:32 +0000
(
01:25
+0800)
committer
paladz
<453256728@qq.com>
Fri, 22 May 2020 17:25:32 +0000
(
01:25
+0800)
protocol/bbft.go
patch
|
blob
|
history
diff --git
a/protocol/bbft.go
b/protocol/bbft.go
index
02accaf
..
1a143b8
100644
(file)
--- a/
protocol/bbft.go
+++ b/
protocol/bbft.go
@@
-30,6
+30,7
@@
func signCacheKey(blockHash, pubkey string) string {
}
func (c *Chain) checkDoubleSign(bh *types.BlockHeader, xPub string) error {
+ return nil
blockHashes, err := c.store.GetBlockHashesByHeight(bh.Height)
if err != nil {
return err