diff options
author | Wei-Ning Huang <w@cobinhood.com> | 2018-09-26 10:48:31 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-03-12 12:19:09 +0800 |
commit | 3f555b121b7483dac0baff0a80e16fdc2cb55ce4 (patch) | |
tree | 9f83142c6a6b8642200cba20d37ba845d81f8437 /rpc | |
parent | bc5a3c35468c272869966176f98f3d5522f4b607 (diff) | |
download | dexon-3f555b121b7483dac0baff0a80e16fdc2cb55ce4.tar.gz dexon-3f555b121b7483dac0baff0a80e16fdc2cb55ce4.tar.zst dexon-3f555b121b7483dac0baff0a80e16fdc2cb55ce4.zip |
Change import go github.com/dexon-foundation/dexon
Diffstat (limited to 'rpc')
-rw-r--r-- | rpc/client.go | 2 | ||||
-rw-r--r-- | rpc/client_example_test.go | 2 | ||||
-rw-r--r-- | rpc/client_test.go | 4 | ||||
-rw-r--r-- | rpc/endpoints.go | 2 | ||||
-rw-r--r-- | rpc/http.go | 2 | ||||
-rw-r--r-- | rpc/ipc.go | 4 | ||||
-rw-r--r-- | rpc/ipc_unix.go | 2 | ||||
-rw-r--r-- | rpc/json.go | 2 | ||||
-rw-r--r-- | rpc/server.go | 2 | ||||
-rw-r--r-- | rpc/types.go | 2 | ||||
-rw-r--r-- | rpc/types_test.go | 2 | ||||
-rw-r--r-- | rpc/websocket.go | 2 |
12 files changed, 14 insertions, 14 deletions
diff --git a/rpc/client.go b/rpc/client.go index 6254c95ff..2b5e79848 100644 --- a/rpc/client.go +++ b/rpc/client.go @@ -32,7 +32,7 @@ import ( "sync/atomic" "time" - "github.com/ethereum/go-ethereum/log" + "github.com/dexon-foundation/dexon/log" ) var ( diff --git a/rpc/client_example_test.go b/rpc/client_example_test.go index 3bb8717b8..261c6fb70 100644 --- a/rpc/client_example_test.go +++ b/rpc/client_example_test.go @@ -22,7 +22,7 @@ import ( "math/big" "time" - "github.com/ethereum/go-ethereum/rpc" + "github.com/dexon-foundation/dexon/rpc" ) // In this example, our client wishes to track the latest 'block number' diff --git a/rpc/client_test.go b/rpc/client_test.go index a8195c0af..ecb550521 100644 --- a/rpc/client_test.go +++ b/rpc/client_test.go @@ -31,7 +31,7 @@ import ( "time" "github.com/davecgh/go-spew/spew" - "github.com/ethereum/go-ethereum/log" + "github.com/dexon-foundation/dexon/log" ) func TestClientRequest(t *testing.T) { @@ -323,7 +323,7 @@ func TestClientSubscribeClose(t *testing.T) { } } -// This test reproduces https://github.com/ethereum/go-ethereum/issues/17837 where the +// This test reproduces https://github.com/dexon-foundation/dexon/issues/17837 where the // client hangs during shutdown when Unsubscribe races with Client.Close. func TestClientCloseUnsubscribeRace(t *testing.T) { service := &NotificationTestService{} diff --git a/rpc/endpoints.go b/rpc/endpoints.go index 8ca6d4eb0..bf5f650aa 100644 --- a/rpc/endpoints.go +++ b/rpc/endpoints.go @@ -19,7 +19,7 @@ package rpc import ( "net" - "github.com/ethereum/go-ethereum/log" + "github.com/dexon-foundation/dexon/log" ) // StartHTTPEndpoint starts the HTTP RPC endpoint, configured with cors/vhosts/modules diff --git a/rpc/http.go b/rpc/http.go index 674166fb3..4c2e16a50 100644 --- a/rpc/http.go +++ b/rpc/http.go @@ -31,7 +31,7 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/log" + "github.com/dexon-foundation/dexon/log" "github.com/rs/cors" ) diff --git a/rpc/ipc.go b/rpc/ipc.go index 4cce1cf74..1dc318e2d 100644 --- a/rpc/ipc.go +++ b/rpc/ipc.go @@ -20,8 +20,8 @@ import ( "context" "net" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/p2p/netutil" + "github.com/dexon-foundation/dexon/log" + "github.com/dexon-foundation/dexon/p2p/netutil" ) // ServeListener accepts connections on l, serving JSON-RPC on them. diff --git a/rpc/ipc_unix.go b/rpc/ipc_unix.go index 707b47fd7..c6218dbd9 100644 --- a/rpc/ipc_unix.go +++ b/rpc/ipc_unix.go @@ -25,7 +25,7 @@ import ( "os" "path/filepath" - "github.com/ethereum/go-ethereum/log" + "github.com/dexon-foundation/dexon/log" ) /* diff --git a/rpc/json.go b/rpc/json.go index a523eeb8e..1853a715f 100644 --- a/rpc/json.go +++ b/rpc/json.go @@ -26,7 +26,7 @@ import ( "strings" "sync" - "github.com/ethereum/go-ethereum/log" + "github.com/dexon-foundation/dexon/log" ) const ( diff --git a/rpc/server.go b/rpc/server.go index 214e1d3ed..bdd1877ab 100644 --- a/rpc/server.go +++ b/rpc/server.go @@ -26,7 +26,7 @@ import ( "sync/atomic" mapset "github.com/deckarep/golang-set" - "github.com/ethereum/go-ethereum/log" + "github.com/dexon-foundation/dexon/log" ) const MetadataApi = "rpc" diff --git a/rpc/types.go b/rpc/types.go index 4252c3602..368e840f0 100644 --- a/rpc/types.go +++ b/rpc/types.go @@ -24,7 +24,7 @@ import ( "sync" mapset "github.com/deckarep/golang-set" - "github.com/ethereum/go-ethereum/common/hexutil" + "github.com/dexon-foundation/dexon/common/hexutil" ) // API describes the set of methods offered over the RPC interface diff --git a/rpc/types_test.go b/rpc/types_test.go index 68b6d3c54..cd0859925 100644 --- a/rpc/types_test.go +++ b/rpc/types_test.go @@ -20,7 +20,7 @@ import ( "encoding/json" "testing" - "github.com/ethereum/go-ethereum/common/math" + "github.com/dexon-foundation/dexon/common/math" ) func TestBlockNumberJSONUnmarshal(t *testing.T) { diff --git a/rpc/websocket.go b/rpc/websocket.go index eae8320e5..8874e5e60 100644 --- a/rpc/websocket.go +++ b/rpc/websocket.go @@ -31,7 +31,7 @@ import ( "time" mapset "github.com/deckarep/golang-set" - "github.com/ethereum/go-ethereum/log" + "github.com/dexon-foundation/dexon/log" "golang.org/x/net/websocket" ) |