aboutsummaryrefslogtreecommitdiffstats
path: root/common
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 /common
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 'common')
-rw-r--r--common/bitutil/compress_test.go2
-rw-r--r--common/debug.go2
-rw-r--r--common/hexutil/json_example_test.go2
-rw-r--r--common/math/big_test.go2
-rw-r--r--common/types.go4
5 files changed, 6 insertions, 6 deletions
diff --git a/common/bitutil/compress_test.go b/common/bitutil/compress_test.go
index 13a13011d..b02f9796f 100644
--- a/common/bitutil/compress_test.go
+++ b/common/bitutil/compress_test.go
@@ -21,7 +21,7 @@ import (
"math/rand"
"testing"
- "github.com/ethereum/go-ethereum/common/hexutil"
+ "github.com/dexon-foundation/dexon/common/hexutil"
)
// Tests that data bitset encoding and decoding works and is bijective.
diff --git a/common/debug.go b/common/debug.go
index 61acd8ce7..c06ad8133 100644
--- a/common/debug.go
+++ b/common/debug.go
@@ -26,7 +26,7 @@ import (
// Report gives off a warning requesting the user to submit an issue to the github tracker.
func Report(extra ...interface{}) {
- fmt.Fprintln(os.Stderr, "You've encountered a sought after, hard to reproduce bug. Please report this to the developers <3 https://github.com/ethereum/go-ethereum/issues")
+ fmt.Fprintln(os.Stderr, "You've encountered a sought after, hard to reproduce bug. Please report this to the developers <3 https://github.com/dexon-foundation/dexon/issues")
fmt.Fprintln(os.Stderr, extra...)
_, file, line, _ := runtime.Caller(1)
diff --git a/common/hexutil/json_example_test.go b/common/hexutil/json_example_test.go
index 80180d918..95d03ca38 100644
--- a/common/hexutil/json_example_test.go
+++ b/common/hexutil/json_example_test.go
@@ -20,7 +20,7 @@ import (
"encoding/json"
"fmt"
- "github.com/ethereum/go-ethereum/common/hexutil"
+ "github.com/dexon-foundation/dexon/common/hexutil"
)
type MyType [5]byte
diff --git a/common/math/big_test.go b/common/math/big_test.go
index be9810dc8..97e319c58 100644
--- a/common/math/big_test.go
+++ b/common/math/big_test.go
@@ -22,7 +22,7 @@ import (
"math/big"
"testing"
- "github.com/ethereum/go-ethereum/common"
+ "github.com/dexon-foundation/dexon/common"
)
func TestHexOrDecimal256(t *testing.T) {
diff --git a/common/types.go b/common/types.go
index a4b999526..f3342d0e4 100644
--- a/common/types.go
+++ b/common/types.go
@@ -26,8 +26,8 @@ import (
"reflect"
"strings"
- "github.com/ethereum/go-ethereum/common/hexutil"
- "github.com/ethereum/go-ethereum/crypto/sha3"
+ "github.com/dexon-foundation/dexon/common/hexutil"
+ "github.com/dexon-foundation/dexon/crypto/sha3"
)
// Lengths of hashes and addresses in bytes.