diff options
author | Wei-Ning Huang <w@cobinhood.com> | 2018-09-26 10:48:31 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2018-12-19 18:55:22 +0800 |
commit | 9acf5fc03ad7dabcd88eb8972db032122ef5ebe1 (patch) | |
tree | e33db1d9846de04aa5d86d920a77d87064d531e5 /p2p/testing | |
parent | f97b8033c8c79f133417805fdd84bc1c36a36089 (diff) | |
download | dexon-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 'p2p/testing')
-rw-r--r-- | p2p/testing/peerpool.go | 4 | ||||
-rw-r--r-- | p2p/testing/protocolsession.go | 8 | ||||
-rw-r--r-- | p2p/testing/protocoltester.go | 16 |
3 files changed, 14 insertions, 14 deletions
diff --git a/p2p/testing/peerpool.go b/p2p/testing/peerpool.go index 01ccce67e..e01c92285 100644 --- a/p2p/testing/peerpool.go +++ b/p2p/testing/peerpool.go @@ -20,8 +20,8 @@ import ( "fmt" "sync" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/p2p/enode" + "github.com/dexon-foundation/dexon/log" + "github.com/dexon-foundation/dexon/p2p/enode" ) type TestPeer interface { diff --git a/p2p/testing/protocolsession.go b/p2p/testing/protocolsession.go index 476c2a984..cd807f83b 100644 --- a/p2p/testing/protocolsession.go +++ b/p2p/testing/protocolsession.go @@ -22,10 +22,10 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/p2p/simulations/adapters" + "github.com/dexon-foundation/dexon/log" + "github.com/dexon-foundation/dexon/p2p" + "github.com/dexon-foundation/dexon/p2p/enode" + "github.com/dexon-foundation/dexon/p2p/simulations/adapters" ) var errTimedOut = errors.New("timed out") diff --git a/p2p/testing/protocoltester.go b/p2p/testing/protocoltester.go index afc03b009..c28ae5055 100644 --- a/p2p/testing/protocoltester.go +++ b/p2p/testing/protocoltester.go @@ -32,14 +32,14 @@ import ( "sync" "testing" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/node" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/p2p/simulations" - "github.com/ethereum/go-ethereum/p2p/simulations/adapters" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/rpc" + "github.com/dexon-foundation/dexon/log" + "github.com/dexon-foundation/dexon/node" + "github.com/dexon-foundation/dexon/p2p" + "github.com/dexon-foundation/dexon/p2p/enode" + "github.com/dexon-foundation/dexon/p2p/simulations" + "github.com/dexon-foundation/dexon/p2p/simulations/adapters" + "github.com/dexon-foundation/dexon/rlp" + "github.com/dexon-foundation/dexon/rpc" ) // ProtocolTester is the tester environment used for unit testing protocol |