aboutsummaryrefslogtreecommitdiffstats
path: root/p2p/enr
diff options
context:
space:
mode:
authorWei-Ning Huang <w@cobinhood.com>2018-09-26 10:48:31 +0800
committerWei-Ning Huang <w@byzantine-lab.io>2019-06-12 17:23:38 +0800
commit21cbe9d5b1630be351329a5715fd599030a00122 (patch)
treed595b8cceb54662497d44b102b6ddbbd60ec0a01 /p2p/enr
parent2ba220653fdf945844896458821808f2edd8f4af (diff)
downloadgo-tangerine-21cbe9d5b1630be351329a5715fd599030a00122.tar
go-tangerine-21cbe9d5b1630be351329a5715fd599030a00122.tar.gz
go-tangerine-21cbe9d5b1630be351329a5715fd599030a00122.tar.bz2
go-tangerine-21cbe9d5b1630be351329a5715fd599030a00122.tar.lz
go-tangerine-21cbe9d5b1630be351329a5715fd599030a00122.tar.xz
go-tangerine-21cbe9d5b1630be351329a5715fd599030a00122.tar.zst
go-tangerine-21cbe9d5b1630be351329a5715fd599030a00122.zip
Change import go github.com/dexon-foundation/dexon
Diffstat (limited to 'p2p/enr')
-rw-r--r--p2p/enr/enr.go2
-rw-r--r--p2p/enr/enr_test.go2
-rw-r--r--p2p/enr/entries.go2
3 files changed, 3 insertions, 3 deletions
diff --git a/p2p/enr/enr.go b/p2p/enr/enr.go
index 444820c15..62e351761 100644
--- a/p2p/enr/enr.go
+++ b/p2p/enr/enr.go
@@ -40,7 +40,7 @@ import (
"io"
"sort"
- "github.com/ethereum/go-ethereum/rlp"
+ "github.com/dexon-foundation/dexon/rlp"
)
const SizeLimit = 300 // maximum encoded size of a node record in bytes
diff --git a/p2p/enr/enr_test.go b/p2p/enr/enr_test.go
index 449c898a8..72519b576 100644
--- a/p2p/enr/enr_test.go
+++ b/p2p/enr/enr_test.go
@@ -24,7 +24,7 @@ import (
"testing"
"time"
- "github.com/ethereum/go-ethereum/rlp"
+ "github.com/dexon-foundation/dexon/rlp"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
diff --git a/p2p/enr/entries.go b/p2p/enr/entries.go
index 347990ab6..576349777 100644
--- a/p2p/enr/entries.go
+++ b/p2p/enr/entries.go
@@ -21,7 +21,7 @@ import (
"io"
"net"
- "github.com/ethereum/go-ethereum/rlp"
+ "github.com/dexon-foundation/dexon/rlp"
)
// Entry is implemented by known node record entry types.