aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cmd/mist/flags.go2
-rw-r--r--cmd/utils/cmd.go3
-rw-r--r--ethutil/common.go5
3 files changed, 4 insertions, 6 deletions
diff --git a/cmd/mist/flags.go b/cmd/mist/flags.go
index 8dab59d80..0010df826 100644
--- a/cmd/mist/flags.go
+++ b/cmd/mist/flags.go
@@ -27,7 +27,6 @@ import (
"log"
"os"
"path"
- "path/filepath"
"runtime"
"github.com/ethereum/go-ethereum/crypto"
@@ -35,7 +34,6 @@ import (
"github.com/ethereum/go-ethereum/logger"
"github.com/ethereum/go-ethereum/p2p/nat"
"github.com/ethereum/go-ethereum/vm"
- "github.com/kardianos/osext"
)
var (
diff --git a/cmd/utils/cmd.go b/cmd/utils/cmd.go
index a65476e69..a36c10e3b 100644
--- a/cmd/utils/cmd.go
+++ b/cmd/utils/cmd.go
@@ -25,10 +25,7 @@ import (
"fmt"
"os"
"os/signal"
- "path"
- "path/filepath"
"regexp"
- "runtime"
"github.com/ethereum/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/crypto"
diff --git a/ethutil/common.go b/ethutil/common.go
index d439dcedc..c4e7415dc 100644
--- a/ethutil/common.go
+++ b/ethutil/common.go
@@ -2,12 +2,15 @@ package ethutil
import (
"fmt"
- "github.com/kardianos/osext"
"math/big"
+ "os"
"os/user"
"path"
+ "path/filepath"
"runtime"
"time"
+
+ "github.com/kardianos/osext"
)
func DefaultAssetPath() string {