aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSonic <sonic@cobinhood.com>2018-09-19 18:56:06 +0800
committerWei-Ning Huang <w@dexon.org>2019-04-09 21:32:48 +0800
commitd8ea8f79720bbfc12c94b607841789eb67a6d117 (patch)
tree8e8440daccc31e634db82a96c23a80bc62a1ce00
parent46211993755749081d85561595baca388e663310 (diff)
downloaddexon-d8ea8f79720bbfc12c94b607841789eb67a6d117.tar
dexon-d8ea8f79720bbfc12c94b607841789eb67a6d117.tar.gz
dexon-d8ea8f79720bbfc12c94b607841789eb67a6d117.tar.bz2
dexon-d8ea8f79720bbfc12c94b607841789eb67a6d117.tar.lz
dexon-d8ea8f79720bbfc12c94b607841789eb67a6d117.tar.xz
dexon-d8ea8f79720bbfc12c94b607841789eb67a6d117.tar.zst
dexon-d8ea8f79720bbfc12c94b607841789eb67a6d117.zip
Change package name from eth to dex
-rw-r--r--dex/config.go2
-rw-r--r--dex/handler.go2
-rw-r--r--dex/helper_test.go2
-rw-r--r--dex/metrics.go2
-rw-r--r--dex/peer.go2
-rw-r--r--dex/protocol.go2
-rw-r--r--dex/protocol_test.go2
-rw-r--r--dex/sync.go2
8 files changed, 8 insertions, 8 deletions
diff --git a/dex/config.go b/dex/config.go
index 375fbcc3c..629e29120 100644
--- a/dex/config.go
+++ b/dex/config.go
@@ -14,7 +14,7 @@
// You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
-package eth
+package dex
import (
"math/big"
diff --git a/dex/handler.go b/dex/handler.go
index 9f4522627..b9a354f42 100644
--- a/dex/handler.go
+++ b/dex/handler.go
@@ -14,7 +14,7 @@
// You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
-package eth
+package dex
import (
"encoding/json"
diff --git a/dex/helper_test.go b/dex/helper_test.go
index 3d2ab0aba..13d2bbaec 100644
--- a/dex/helper_test.go
+++ b/dex/helper_test.go
@@ -17,7 +17,7 @@
// This file contains some shares testing functionality, common to multiple
// different files and modules being tested.
-package eth
+package dex
import (
"crypto/ecdsa"
diff --git a/dex/metrics.go b/dex/metrics.go
index 0533a2a87..8d923ed70 100644
--- a/dex/metrics.go
+++ b/dex/metrics.go
@@ -14,7 +14,7 @@
// You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
-package eth
+package dex
import (
"github.com/ethereum/go-ethereum/metrics"
diff --git a/dex/peer.go b/dex/peer.go
index b5f450855..f955b531d 100644
--- a/dex/peer.go
+++ b/dex/peer.go
@@ -14,7 +14,7 @@
// You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
-package eth
+package dex
import (
"errors"
diff --git a/dex/protocol.go b/dex/protocol.go
index 0e90e6a2e..de6354717 100644
--- a/dex/protocol.go
+++ b/dex/protocol.go
@@ -14,7 +14,7 @@
// You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
-package eth
+package dex
import (
"fmt"
diff --git a/dex/protocol_test.go b/dex/protocol_test.go
index aa43dfa92..1a3d7b124 100644
--- a/dex/protocol_test.go
+++ b/dex/protocol_test.go
@@ -14,7 +14,7 @@
// You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
-package eth
+package dex
import (
"fmt"
diff --git a/dex/sync.go b/dex/sync.go
index e49e40087..9c070e36f 100644
--- a/dex/sync.go
+++ b/dex/sync.go
@@ -14,7 +14,7 @@
// You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
-package eth
+package dex
import (
"math/rand"