aboutsummaryrefslogtreecommitdiffstats
path: root/dex/protocol.go
diff options
context:
space:
mode:
authorSonic <sonic@dexon.org>2018-11-22 15:09:49 +0800
committerWei-Ning Huang <w@dexon.org>2019-04-09 21:32:53 +0800
commitc51c2a240cd3f01bf8bdb6a1644a902b2335b2aa (patch)
tree15908e7c6cc5858f3d2a0eefbfeee1a0d2718356 /dex/protocol.go
parent4e8a8dd1105a3392e3b8a489c8b9f80a3492b670 (diff)
downloaddexon-c51c2a240cd3f01bf8bdb6a1644a902b2335b2aa.tar.gz
dexon-c51c2a240cd3f01bf8bdb6a1644a902b2335b2aa.tar.zst
dexon-c51c2a240cd3f01bf8bdb6a1644a902b2335b2aa.zip
core, dex, downloader: refactor governance
Diffstat (limited to 'dex/protocol.go')
-rw-r--r--dex/protocol.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/dex/protocol.go b/dex/protocol.go
index 0c271248e..21168e917 100644
--- a/dex/protocol.go
+++ b/dex/protocol.go
@@ -34,7 +34,6 @@
package dex
import (
- "context"
"crypto/ecdsa"
"fmt"
"io"
@@ -144,7 +143,7 @@ type txPool interface {
}
type governance interface {
- GetRoundHeight(context.Context, uint64) (uint64, error)
+ GetRoundHeight(uint64) uint64
GetNumChains(uint64) uint32