OSDN Git Service

add version number hot_fix
authorpaladz <453256728@qq.com>
Fri, 22 May 2020 20:26:44 +0000 (04:26 +0800)
committerpaladz <453256728@qq.com>
Fri, 22 May 2020 20:26:44 +0000 (04:26 +0800)
protocol/bbft.go
version/version.go

index 1a143b8..02accaf 100644 (file)
@@ -30,7 +30,6 @@ 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
index 89d6922..1af5b07 100644 (file)
@@ -47,7 +47,7 @@ const (
 
 var (
        // The full version string
-       Version = "1.1.2"
+       Version = "1.1.3"
        // GitCommit is set with --ldflags "-X main.gitCommit=$(git rev-parse HEAD)"
        GitCommit string
        Status    *UpdateStatus