OSDN Git Service

edit version to the next release (#1269)
authorPaladz <yzhu101@uottawa.ca>
Fri, 24 Aug 2018 03:08:32 +0000 (11:08 +0800)
committerGitHub <noreply@github.com>
Fri, 24 Aug 2018 03:08:32 +0000 (11:08 +0800)
netsync/peer.go
version/version.go

index 42dbeee..dfb9c91 100644 (file)
@@ -242,7 +242,7 @@ func (p *peer) sendMerkleBlock(block *types.Block, txStatuses *bc.TransactionSta
        if err := msg.setTxInfo(txHashes, txFlags, relatedTxs); err != nil {
                return false, nil
        }
-       
+
        statusHashes := types.GetStatusMerkleTreeProof(txStatuses.VerifyStatus, txFlags)
        if err := msg.setStatusInfo(statusHashes, relatedStatuses); err != nil {
                return false, nil
index 2d64486..df9d0df 100644 (file)
@@ -1,10 +1,11 @@
 package version
 
 import (
+       "sync"
+
        gover "github.com/hashicorp/go-version"
        log "github.com/sirupsen/logrus"
        "gopkg.in/fatih/set.v0"
-       "sync"
 )
 
 const (
@@ -15,7 +16,7 @@ const (
 
 var (
        // The full version string
-       Version = "1.0.4"
+       Version = "1.0.5"
        // GitCommit is set with --ldflags "-X main.gitCommit=$(git rev-parse HEAD)"
        GitCommit string
        Status    *UpdateStatus