Browse Source

remove duplicate ABCIVersion (#7703)

pull/7706/head
JayT106 3 years ago
committed by GitHub
parent
commit
2c9dec53a8
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 11 deletions
  1. +2
    -2
      abci/cmd/abci-cli/abci-cli.go
  2. +0
    -9
      abci/version/version.go

+ 2
- 2
abci/cmd/abci-cli/abci-cli.go View File

@ -14,6 +14,7 @@ import (
"github.com/spf13/cobra"
"github.com/tendermint/tendermint/libs/log"
"github.com/tendermint/tendermint/version"
abciclient "github.com/tendermint/tendermint/abci/client"
"github.com/tendermint/tendermint/abci/example/code"
@ -21,7 +22,6 @@ import (
"github.com/tendermint/tendermint/abci/server"
servertest "github.com/tendermint/tendermint/abci/tests/server"
"github.com/tendermint/tendermint/abci/types"
"github.com/tendermint/tendermint/abci/version"
"github.com/tendermint/tendermint/proto/tendermint/crypto"
)
@ -231,7 +231,7 @@ var versionCmd = &cobra.Command{
Long: "print ABCI console version",
Args: cobra.ExactArgs(0),
RunE: func(cmd *cobra.Command, args []string) error {
fmt.Println(version.Version)
fmt.Println(version.ABCIVersion)
return nil
},
}


+ 0
- 9
abci/version/version.go View File

@ -1,9 +0,0 @@
package version
import (
"github.com/tendermint/tendermint/version"
)
// TODO: eliminate this after some version refactor
const Version = version.ABCIVersion

Loading…
Cancel
Save