diff options
author | Sonic <sonic@dexon.org> | 2018-11-22 15:09:49 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@byzantine-lab.io> | 2019-06-12 17:27:18 +0800 |
commit | fc2df4ef1c189accd7a4c4ed90d8e3562b5d9e60 (patch) | |
tree | ab71c9a0511121f35cce5a666ea7574bf0ab31b0 /dex/protocol.go | |
parent | 9d8b455d62d851d265a8383a5d34e9c594ff89c9 (diff) | |
download | go-tangerine-fc2df4ef1c189accd7a4c4ed90d8e3562b5d9e60.tar go-tangerine-fc2df4ef1c189accd7a4c4ed90d8e3562b5d9e60.tar.gz go-tangerine-fc2df4ef1c189accd7a4c4ed90d8e3562b5d9e60.tar.bz2 go-tangerine-fc2df4ef1c189accd7a4c4ed90d8e3562b5d9e60.tar.lz go-tangerine-fc2df4ef1c189accd7a4c4ed90d8e3562b5d9e60.tar.xz go-tangerine-fc2df4ef1c189accd7a4c4ed90d8e3562b5d9e60.tar.zst go-tangerine-fc2df4ef1c189accd7a4c4ed90d8e3562b5d9e60.zip |
core, dex, downloader: refactor governance
Diffstat (limited to 'dex/protocol.go')
-rw-r--r-- | dex/protocol.go | 3 |
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 |