aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/swarm
diff options
context:
space:
mode:
authorWei-Ning Huang <w@cobinhood.com>2018-09-26 10:48:31 +0800
committerWei-Ning Huang <w@dexon.org>2018-12-19 18:55:22 +0800
commit9acf5fc03ad7dabcd88eb8972db032122ef5ebe1 (patch)
treee33db1d9846de04aa5d86d920a77d87064d531e5 /cmd/swarm
parentf97b8033c8c79f133417805fdd84bc1c36a36089 (diff)
downloaddexon-9acf5fc03ad7dabcd88eb8972db032122ef5ebe1.tar
dexon-9acf5fc03ad7dabcd88eb8972db032122ef5ebe1.tar.gz
dexon-9acf5fc03ad7dabcd88eb8972db032122ef5ebe1.tar.bz2
dexon-9acf5fc03ad7dabcd88eb8972db032122ef5ebe1.tar.lz
dexon-9acf5fc03ad7dabcd88eb8972db032122ef5ebe1.tar.xz
dexon-9acf5fc03ad7dabcd88eb8972db032122ef5ebe1.tar.zst
dexon-9acf5fc03ad7dabcd88eb8972db032122ef5ebe1.zip
Change import go github.com/dexon-foundation/dexon
Diffstat (limited to 'cmd/swarm')
-rw-r--r--cmd/swarm/access.go6
-rw-r--r--cmd/swarm/access_test.go14
-rw-r--r--cmd/swarm/config.go12
-rw-r--r--cmd/swarm/config_test.go8
-rw-r--r--cmd/swarm/db.go8
-rw-r--r--cmd/swarm/download.go8
-rw-r--r--cmd/swarm/export_test.go4
-rw-r--r--cmd/swarm/feeds.go12
-rw-r--r--cmd/swarm/feeds_test.go18
-rw-r--r--cmd/swarm/fs.go8
-rw-r--r--cmd/swarm/fs_test.go4
-rw-r--r--cmd/swarm/hash.go4
-rw-r--r--cmd/swarm/list.go4
-rw-r--r--cmd/swarm/main.go30
-rw-r--r--cmd/swarm/manifest.go6
-rw-r--r--cmd/swarm/manifest_test.go6
-rw-r--r--cmd/swarm/mimegen/generator.go2
-rw-r--r--cmd/swarm/run_test.go18
-rw-r--r--cmd/swarm/swarm-smoke/feed_upload_and_sync.go16
-rw-r--r--cmd/swarm/swarm-smoke/main.go12
-rw-r--r--cmd/swarm/swarm-smoke/upload_and_sync.go12
-rw-r--r--cmd/swarm/upload.go6
-rw-r--r--cmd/swarm/upload_test.go6
23 files changed, 112 insertions, 112 deletions
diff --git a/cmd/swarm/access.go b/cmd/swarm/access.go
index 072541b65..a1cefa271 100644
--- a/cmd/swarm/access.go
+++ b/cmd/swarm/access.go
@@ -23,9 +23,9 @@ import (
"io/ioutil"
"strings"
- "github.com/ethereum/go-ethereum/cmd/utils"
- "github.com/ethereum/go-ethereum/swarm/api"
- "github.com/ethereum/go-ethereum/swarm/api/client"
+ "github.com/dexon-foundation/dexon/cmd/utils"
+ "github.com/dexon-foundation/dexon/swarm/api"
+ "github.com/dexon-foundation/dexon/swarm/api/client"
"gopkg.in/urfave/cli.v1"
)
diff --git a/cmd/swarm/access_test.go b/cmd/swarm/access_test.go
index 9357c577e..f3ab5a578 100644
--- a/cmd/swarm/access_test.go
+++ b/cmd/swarm/access_test.go
@@ -31,13 +31,13 @@ import (
"testing"
"time"
- "github.com/ethereum/go-ethereum/crypto"
- "github.com/ethereum/go-ethereum/crypto/ecies"
- "github.com/ethereum/go-ethereum/crypto/sha3"
- "github.com/ethereum/go-ethereum/log"
- "github.com/ethereum/go-ethereum/swarm/api"
- swarmapi "github.com/ethereum/go-ethereum/swarm/api/client"
- "github.com/ethereum/go-ethereum/swarm/testutil"
+ "github.com/dexon-foundation/dexon/crypto"
+ "github.com/dexon-foundation/dexon/crypto/ecies"
+ "github.com/dexon-foundation/dexon/crypto/sha3"
+ "github.com/dexon-foundation/dexon/log"
+ "github.com/dexon-foundation/dexon/swarm/api"
+ swarmapi "github.com/dexon-foundation/dexon/swarm/api/client"
+ "github.com/dexon-foundation/dexon/swarm/testutil"
)
const (
diff --git a/cmd/swarm/config.go b/cmd/swarm/config.go
index 3eea3057b..0729e33f8 100644
--- a/cmd/swarm/config.go
+++ b/cmd/swarm/config.go
@@ -29,13 +29,13 @@ import (
cli "gopkg.in/urfave/cli.v1"
- "github.com/ethereum/go-ethereum/cmd/utils"
- "github.com/ethereum/go-ethereum/common"
- "github.com/ethereum/go-ethereum/log"
- "github.com/ethereum/go-ethereum/node"
+ "github.com/dexon-foundation/dexon/cmd/utils"
+ "github.com/dexon-foundation/dexon/common"
+ "github.com/dexon-foundation/dexon/log"
+ "github.com/dexon-foundation/dexon/node"
"github.com/naoina/toml"
- bzzapi "github.com/ethereum/go-ethereum/swarm/api"
+ bzzapi "github.com/dexon-foundation/dexon/swarm/api"
)
var (
@@ -95,7 +95,7 @@ var tomlSettings = toml.Config{
MissingField: func(rt reflect.Type, field string) error {
link := ""
if unicode.IsUpper(rune(rt.Name()[0])) && rt.PkgPath() != "main" {
- link = fmt.Sprintf(", check github.com/ethereum/go-ethereum/swarm/api/config.go for available fields")
+ link = fmt.Sprintf(", check github.com/dexon-foundation/dexon/swarm/api/config.go for available fields")
}
return fmt.Errorf("field '%s' is not defined in %s%s", field, rt.String(), link)
},
diff --git a/cmd/swarm/config_test.go b/cmd/swarm/config_test.go
index 18be316e5..6bc613274 100644
--- a/cmd/swarm/config_test.go
+++ b/cmd/swarm/config_test.go
@@ -26,11 +26,11 @@ import (
"testing"
"time"
+ "github.com/dexon-foundation/dexon/cmd/utils"
+ "github.com/dexon-foundation/dexon/rpc"
+ "github.com/dexon-foundation/dexon/swarm"
+ "github.com/dexon-foundation/dexon/swarm/api"
"github.com/docker/docker/pkg/reexec"
- "github.com/ethereum/go-ethereum/cmd/utils"
- "github.com/ethereum/go-ethereum/rpc"
- "github.com/ethereum/go-ethereum/swarm"
- "github.com/ethereum/go-ethereum/swarm/api"
)
func TestConfigDump(t *testing.T) {
diff --git a/cmd/swarm/db.go b/cmd/swarm/db.go
index 7916beffc..6445883ad 100644
--- a/cmd/swarm/db.go
+++ b/cmd/swarm/db.go
@@ -22,10 +22,10 @@ import (
"os"
"path/filepath"
- "github.com/ethereum/go-ethereum/cmd/utils"
- "github.com/ethereum/go-ethereum/common"
- "github.com/ethereum/go-ethereum/log"
- "github.com/ethereum/go-ethereum/swarm/storage"
+ "github.com/dexon-foundation/dexon/cmd/utils"
+ "github.com/dexon-foundation/dexon/common"
+ "github.com/dexon-foundation/dexon/log"
+ "github.com/dexon-foundation/dexon/swarm/storage"
"gopkg.in/urfave/cli.v1"
)
diff --git a/cmd/swarm/download.go b/cmd/swarm/download.go
index fcbefa020..63f1131d6 100644
--- a/cmd/swarm/download.go
+++ b/cmd/swarm/download.go
@@ -21,10 +21,10 @@ import (
"path/filepath"
"strings"
- "github.com/ethereum/go-ethereum/cmd/utils"
- "github.com/ethereum/go-ethereum/log"
- "github.com/ethereum/go-ethereum/swarm/api"
- swarm "github.com/ethereum/go-ethereum/swarm/api/client"
+ "github.com/dexon-foundation/dexon/cmd/utils"
+ "github.com/dexon-foundation/dexon/log"
+ "github.com/dexon-foundation/dexon/swarm/api"
+ swarm "github.com/dexon-foundation/dexon/swarm/api/client"
"gopkg.in/urfave/cli.v1"
)
diff --git a/cmd/swarm/export_test.go b/cmd/swarm/export_test.go
index e8671eea7..21bd9d4b0 100644
--- a/cmd/swarm/export_test.go
+++ b/cmd/swarm/export_test.go
@@ -26,8 +26,8 @@ import (
"strings"
"testing"
- "github.com/ethereum/go-ethereum/swarm"
- "github.com/ethereum/go-ethereum/swarm/testutil"
+ "github.com/dexon-foundation/dexon/swarm"
+ "github.com/dexon-foundation/dexon/swarm/testutil"
)
// TestCLISwarmExportImport perform the following test:
diff --git a/cmd/swarm/feeds.go b/cmd/swarm/feeds.go
index 6cd971a92..9b6f67a45 100644
--- a/cmd/swarm/feeds.go
+++ b/cmd/swarm/feeds.go
@@ -21,13 +21,13 @@ import (
"fmt"
"strings"
- "github.com/ethereum/go-ethereum/common"
- "github.com/ethereum/go-ethereum/common/hexutil"
- "github.com/ethereum/go-ethereum/crypto"
+ "github.com/dexon-foundation/dexon/common"
+ "github.com/dexon-foundation/dexon/common/hexutil"
+ "github.com/dexon-foundation/dexon/crypto"
- "github.com/ethereum/go-ethereum/cmd/utils"
- swarm "github.com/ethereum/go-ethereum/swarm/api/client"
- "github.com/ethereum/go-ethereum/swarm/storage/feed"
+ "github.com/dexon-foundation/dexon/cmd/utils"
+ swarm "github.com/dexon-foundation/dexon/swarm/api/client"
+ "github.com/dexon-foundation/dexon/swarm/storage/feed"
"gopkg.in/urfave/cli.v1"
)
diff --git a/cmd/swarm/feeds_test.go b/cmd/swarm/feeds_test.go
index 4c40f62a8..672cbade7 100644
--- a/cmd/swarm/feeds_test.go
+++ b/cmd/swarm/feeds_test.go
@@ -23,15 +23,15 @@ import (
"os"
"testing"
- "github.com/ethereum/go-ethereum/common/hexutil"
- "github.com/ethereum/go-ethereum/crypto"
- "github.com/ethereum/go-ethereum/log"
- "github.com/ethereum/go-ethereum/swarm/api"
- swarm "github.com/ethereum/go-ethereum/swarm/api/client"
- swarmhttp "github.com/ethereum/go-ethereum/swarm/api/http"
- "github.com/ethereum/go-ethereum/swarm/storage/feed"
- "github.com/ethereum/go-ethereum/swarm/storage/feed/lookup"
- "github.com/ethereum/go-ethereum/swarm/testutil"
+ "github.com/dexon-foundation/dexon/common/hexutil"
+ "github.com/dexon-foundation/dexon/crypto"
+ "github.com/dexon-foundation/dexon/log"
+ "github.com/dexon-foundation/dexon/swarm/api"
+ swarm "github.com/dexon-foundation/dexon/swarm/api/client"
+ swarmhttp "github.com/dexon-foundation/dexon/swarm/api/http"
+ "github.com/dexon-foundation/dexon/swarm/storage/feed"
+ "github.com/dexon-foundation/dexon/swarm/storage/feed/lookup"
+ "github.com/dexon-foundation/dexon/swarm/testutil"
)
func TestCLIFeedUpdate(t *testing.T) {
diff --git a/cmd/swarm/fs.go b/cmd/swarm/fs.go
index edeeddff8..ba68ed7b7 100644
--- a/cmd/swarm/fs.go
+++ b/cmd/swarm/fs.go
@@ -23,10 +23,10 @@ import (
"strings"
"time"
- "github.com/ethereum/go-ethereum/cmd/utils"
- "github.com/ethereum/go-ethereum/log"
- "github.com/ethereum/go-ethereum/rpc"
- "github.com/ethereum/go-ethereum/swarm/fuse"
+ "github.com/dexon-foundation/dexon/cmd/utils"
+ "github.com/dexon-foundation/dexon/log"
+ "github.com/dexon-foundation/dexon/rpc"
+ "github.com/dexon-foundation/dexon/swarm/fuse"
"gopkg.in/urfave/cli.v1"
)
diff --git a/cmd/swarm/fs_test.go b/cmd/swarm/fs_test.go
index 5f58d6c0d..096178ebf 100644
--- a/cmd/swarm/fs_test.go
+++ b/cmd/swarm/fs_test.go
@@ -29,8 +29,8 @@ import (
"testing"
"time"
- "github.com/ethereum/go-ethereum/cmd/utils"
- "github.com/ethereum/go-ethereum/log"
+ "github.com/dexon-foundation/dexon/cmd/utils"
+ "github.com/dexon-foundation/dexon/log"
)
type testFile struct {
diff --git a/cmd/swarm/hash.go b/cmd/swarm/hash.go
index 471feb53d..7e7fa279e 100644
--- a/cmd/swarm/hash.go
+++ b/cmd/swarm/hash.go
@@ -22,8 +22,8 @@ import (
"fmt"
"os"
- "github.com/ethereum/go-ethereum/cmd/utils"
- "github.com/ethereum/go-ethereum/swarm/storage"
+ "github.com/dexon-foundation/dexon/cmd/utils"
+ "github.com/dexon-foundation/dexon/swarm/storage"
"gopkg.in/urfave/cli.v1"
)
diff --git a/cmd/swarm/list.go b/cmd/swarm/list.go
index 5d35154a5..8ac9b7bd3 100644
--- a/cmd/swarm/list.go
+++ b/cmd/swarm/list.go
@@ -22,8 +22,8 @@ import (
"strings"
"text/tabwriter"
- "github.com/ethereum/go-ethereum/cmd/utils"
- swarm "github.com/ethereum/go-ethereum/swarm/api/client"
+ "github.com/dexon-foundation/dexon/cmd/utils"
+ swarm "github.com/dexon-foundation/dexon/swarm/api/client"
"gopkg.in/urfave/cli.v1"
)
diff --git a/cmd/swarm/main.go b/cmd/swarm/main.go
index ccbb24eec..8b8af0c2b 100644
--- a/cmd/swarm/main.go
+++ b/cmd/swarm/main.go
@@ -29,21 +29,21 @@ import (
"strings"
"syscall"
- "github.com/ethereum/go-ethereum/accounts"
- "github.com/ethereum/go-ethereum/accounts/keystore"
- "github.com/ethereum/go-ethereum/cmd/utils"
- "github.com/ethereum/go-ethereum/common"
- "github.com/ethereum/go-ethereum/console"
- "github.com/ethereum/go-ethereum/crypto"
- "github.com/ethereum/go-ethereum/internal/debug"
- "github.com/ethereum/go-ethereum/log"
- "github.com/ethereum/go-ethereum/node"
- "github.com/ethereum/go-ethereum/p2p/enode"
- "github.com/ethereum/go-ethereum/swarm"
- bzzapi "github.com/ethereum/go-ethereum/swarm/api"
- swarmmetrics "github.com/ethereum/go-ethereum/swarm/metrics"
- "github.com/ethereum/go-ethereum/swarm/tracing"
- sv "github.com/ethereum/go-ethereum/swarm/version"
+ "github.com/dexon-foundation/dexon/accounts"
+ "github.com/dexon-foundation/dexon/accounts/keystore"
+ "github.com/dexon-foundation/dexon/cmd/utils"
+ "github.com/dexon-foundation/dexon/common"
+ "github.com/dexon-foundation/dexon/console"
+ "github.com/dexon-foundation/dexon/crypto"
+ "github.com/dexon-foundation/dexon/internal/debug"
+ "github.com/dexon-foundation/dexon/log"
+ "github.com/dexon-foundation/dexon/node"
+ "github.com/dexon-foundation/dexon/p2p/enode"
+ "github.com/dexon-foundation/dexon/swarm"
+ bzzapi "github.com/dexon-foundation/dexon/swarm/api"
+ swarmmetrics "github.com/dexon-foundation/dexon/swarm/metrics"
+ "github.com/dexon-foundation/dexon/swarm/tracing"
+ sv "github.com/dexon-foundation/dexon/swarm/version"
"gopkg.in/urfave/cli.v1"
)
diff --git a/cmd/swarm/manifest.go b/cmd/swarm/manifest.go
index 312c72fa2..ad918b813 100644
--- a/cmd/swarm/manifest.go
+++ b/cmd/swarm/manifest.go
@@ -22,9 +22,9 @@ import (
"os"
"strings"
- "github.com/ethereum/go-ethereum/cmd/utils"
- "github.com/ethereum/go-ethereum/swarm/api"
- swarm "github.com/ethereum/go-ethereum/swarm/api/client"
+ "github.com/dexon-foundation/dexon/cmd/utils"
+ "github.com/dexon-foundation/dexon/swarm/api"
+ swarm "github.com/dexon-foundation/dexon/swarm/api/client"
"gopkg.in/urfave/cli.v1"
)
diff --git a/cmd/swarm/manifest_test.go b/cmd/swarm/manifest_test.go
index 01d982aa7..55a0e596d 100644
--- a/cmd/swarm/manifest_test.go
+++ b/cmd/swarm/manifest_test.go
@@ -24,9 +24,9 @@ import (
"runtime"
"testing"
- "github.com/ethereum/go-ethereum/swarm/api"
- swarm "github.com/ethereum/go-ethereum/swarm/api/client"
- swarmhttp "github.com/ethereum/go-ethereum/swarm/api/http"
+ "github.com/dexon-foundation/dexon/swarm/api"
+ swarm "github.com/dexon-foundation/dexon/swarm/api/client"
+ swarmhttp "github.com/dexon-foundation/dexon/swarm/api/http"
)
// TestManifestChange tests manifest add, update and remove
diff --git a/cmd/swarm/mimegen/generator.go b/cmd/swarm/mimegen/generator.go
index 68f9e306e..c290351cc 100644
--- a/cmd/swarm/mimegen/generator.go
+++ b/cmd/swarm/mimegen/generator.go
@@ -101,7 +101,7 @@ func main() {
}
}
-var tpl = `// Code generated by github.com/ethereum/go-ethereum/cmd/swarm/mimegen. DO NOT EDIT.
+var tpl = `// Code generated by github.com/dexon-foundation/dexon/cmd/swarm/mimegen. DO NOT EDIT.
package {{ .PackageName }}
diff --git a/cmd/swarm/run_test.go b/cmd/swarm/run_test.go
index 680d238d0..ef80546ec 100644
--- a/cmd/swarm/run_test.go
+++ b/cmd/swarm/run_test.go
@@ -32,16 +32,16 @@ import (
"testing"
"time"
+ "github.com/dexon-foundation/dexon/accounts"
+ "github.com/dexon-foundation/dexon/accounts/keystore"
+ "github.com/dexon-foundation/dexon/internal/cmdtest"
+ "github.com/dexon-foundation/dexon/node"
+ "github.com/dexon-foundation/dexon/p2p"
+ "github.com/dexon-foundation/dexon/rpc"
+ "github.com/dexon-foundation/dexon/swarm"
+ "github.com/dexon-foundation/dexon/swarm/api"
+ swarmhttp "github.com/dexon-foundation/dexon/swarm/api/http"
"github.com/docker/docker/pkg/reexec"
- "github.com/ethereum/go-ethereum/accounts"
- "github.com/ethereum/go-ethereum/accounts/keystore"
- "github.com/ethereum/go-ethereum/internal/cmdtest"
- "github.com/ethereum/go-ethereum/node"
- "github.com/ethereum/go-ethereum/p2p"
- "github.com/ethereum/go-ethereum/rpc"
- "github.com/ethereum/go-ethereum/swarm"
- "github.com/ethereum/go-ethereum/swarm/api"
- swarmhttp "github.com/ethereum/go-ethereum/swarm/api/http"
)
var loglevel = flag.Int("loglevel", 3, "verbosity of logs")
diff --git a/cmd/swarm/swarm-smoke/feed_upload_and_sync.go b/cmd/swarm/swarm-smoke/feed_upload_and_sync.go
index 2c5e3fd23..b39a3fee7 100644
--- a/cmd/swarm/swarm-smoke/feed_upload_and_sync.go
+++ b/cmd/swarm/swarm-smoke/feed_upload_and_sync.go
@@ -15,14 +15,14 @@ import (
"sync"
"time"
- "github.com/ethereum/go-ethereum/common/hexutil"
- "github.com/ethereum/go-ethereum/crypto"
- "github.com/ethereum/go-ethereum/log"
- "github.com/ethereum/go-ethereum/metrics"
- "github.com/ethereum/go-ethereum/swarm/api/client"
- "github.com/ethereum/go-ethereum/swarm/spancontext"
- "github.com/ethereum/go-ethereum/swarm/storage/feed"
- "github.com/ethereum/go-ethereum/swarm/testutil"
+ "github.com/dexon-foundation/dexon/common/hexutil"
+ "github.com/dexon-foundation/dexon/crypto"
+ "github.com/dexon-foundation/dexon/log"
+ "github.com/dexon-foundation/dexon/metrics"
+ "github.com/dexon-foundation/dexon/swarm/api/client"
+ "github.com/dexon-foundation/dexon/swarm/spancontext"
+ "github.com/dexon-foundation/dexon/swarm/storage/feed"
+ "github.com/dexon-foundation/dexon/swarm/testutil"
colorable "github.com/mattn/go-colorable"
opentracing "github.com/opentracing/opentracing-go"
"github.com/pborman/uuid"
diff --git a/cmd/swarm/swarm-smoke/main.go b/cmd/swarm/swarm-smoke/main.go
index 66cecdc5c..f3dd6104e 100644
--- a/cmd/swarm/swarm-smoke/main.go
+++ b/cmd/swarm/swarm-smoke/main.go
@@ -21,13 +21,13 @@ import (
"os"
"sort"
- "github.com/ethereum/go-ethereum/cmd/utils"
- gethmetrics "github.com/ethereum/go-ethereum/metrics"
- "github.com/ethereum/go-ethereum/metrics/influxdb"
- swarmmetrics "github.com/ethereum/go-ethereum/swarm/metrics"
- "github.com/ethereum/go-ethereum/swarm/tracing"
+ "github.com/dexon-foundation/dexon/cmd/utils"
+ gethmetrics "github.com/dexon-foundation/dexon/metrics"
+ "github.com/dexon-foundation/dexon/metrics/influxdb"
+ swarmmetrics "github.com/dexon-foundation/dexon/swarm/metrics"
+ "github.com/dexon-foundation/dexon/swarm/tracing"
- "github.com/ethereum/go-ethereum/log"
+ "github.com/dexon-foundation/dexon/log"
cli "gopkg.in/urfave/cli.v1"
)
diff --git a/cmd/swarm/swarm-smoke/upload_and_sync.go b/cmd/swarm/swarm-smoke/upload_and_sync.go
index d605f79a3..51382e9f7 100644
--- a/cmd/swarm/swarm-smoke/upload_and_sync.go
+++ b/cmd/swarm/swarm-smoke/upload_and_sync.go
@@ -32,12 +32,12 @@ import (
"sync"
"time"
- "github.com/ethereum/go-ethereum/log"
- "github.com/ethereum/go-ethereum/metrics"
- "github.com/ethereum/go-ethereum/swarm/api"
- "github.com/ethereum/go-ethereum/swarm/api/client"
- "github.com/ethereum/go-ethereum/swarm/spancontext"
- "github.com/ethereum/go-ethereum/swarm/testutil"
+ "github.com/dexon-foundation/dexon/log"
+ "github.com/dexon-foundation/dexon/metrics"
+ "github.com/dexon-foundation/dexon/swarm/api"
+ "github.com/dexon-foundation/dexon/swarm/api/client"
+ "github.com/dexon-foundation/dexon/swarm/spancontext"
+ "github.com/dexon-foundation/dexon/swarm/testutil"
opentracing "github.com/opentracing/opentracing-go"
"github.com/pborman/uuid"
diff --git a/cmd/swarm/upload.go b/cmd/swarm/upload.go
index 992f2d6e9..8603d58f3 100644
--- a/cmd/swarm/upload.go
+++ b/cmd/swarm/upload.go
@@ -29,10 +29,10 @@ import (
"strconv"
"strings"
- "github.com/ethereum/go-ethereum/log"
- swarm "github.com/ethereum/go-ethereum/swarm/api/client"
+ "github.com/dexon-foundation/dexon/log"
+ swarm "github.com/dexon-foundation/dexon/swarm/api/client"
- "github.com/ethereum/go-ethereum/cmd/utils"
+ "github.com/dexon-foundation/dexon/cmd/utils"
"gopkg.in/urfave/cli.v1"
)
diff --git a/cmd/swarm/upload_test.go b/cmd/swarm/upload_test.go
index 616486e37..6cdc53037 100644
--- a/cmd/swarm/upload_test.go
+++ b/cmd/swarm/upload_test.go
@@ -30,9 +30,9 @@ import (
"testing"
"time"
- "github.com/ethereum/go-ethereum/log"
- swarmapi "github.com/ethereum/go-ethereum/swarm/api/client"
- "github.com/ethereum/go-ethereum/swarm/testutil"
+ "github.com/dexon-foundation/dexon/log"
+ swarmapi "github.com/dexon-foundation/dexon/swarm/api/client"
+ "github.com/dexon-foundation/dexon/swarm/testutil"
"github.com/mattn/go-colorable"
)