main: remove import alias
@@ -5,18 +5,18 @@ import (
"encoding/hex"
"encoding/json"
"fmt"
- "time"
"github.com/perlin-network/noise/crypto"
"github.com/perlin-network/noise/crypto/ed25519"
"github.com/perlin-network/noise/network"
"github.com/perlin-network/noise/network/discovery"
- cmdUtils "github.com/perlin-network/wavelet/cmd/utils"
+ "github.com/perlin-network/wavelet/cmd/utils"
"github.com/perlin-network/wavelet/log"
"github.com/perlin-network/wavelet/node"
"github.com/perlin-network/wavelet/security"
"github.com/urfave/cli"
"os"
"os/signal"
+ "time"
)
func main() {
@@ -25,7 +25,7 @@ func main() {
app.Name = "wavelet"
app.Author = "Perlin Network"
app.Email = "support@perlin.net"
- app.Version = cmdUtils.Version
+ app.Version = utils.Version
app.Usage = "a bleeding fast ledger with a powerful compute layer"
app.Flags = []cli.Flag{
@@ -62,8 +62,8 @@ func main() {
cli.VersionPrinter = func(c *cli.Context) {
fmt.Printf("Version: %s\n", c.App.Version)
- fmt.Printf("Go Version: %s\n", cmdUtils.GoVersion)
- fmt.Printf("Git Commit: %s\n", cmdUtils.GitCommit)
+ fmt.Printf("Go Version: %s\n", utils.GoVersion)
+ fmt.Printf("Git Commit: %s\n", utils.GitCommit)
fmt.Printf("Built: %s\n", c.App.Compiled.Format(time.ANSIC))
}
