aboutsummaryrefslogtreecommitdiffstats
path: root/dex/protocol.go
diff options
context:
space:
mode:
authorSonic <sonic@cobinhood.com>2018-10-16 10:33:24 +0800
committerWei-Ning Huang <w@byzantine-lab.io>2019-06-12 17:23:39 +0800
commite5137c6582c1ffb6943842aed88b3a31a31c34f1 (patch)
treeb0d24a70b69d429e7c4a95de1fb3852aafd7fb5a /dex/protocol.go
parent16f356dcf34722510c59a1f946a5ffa138bd6da7 (diff)
downloadgo-tangerine-e5137c6582c1ffb6943842aed88b3a31a31c34f1.tar
go-tangerine-e5137c6582c1ffb6943842aed88b3a31a31c34f1.tar.gz
go-tangerine-e5137c6582c1ffb6943842aed88b3a31a31c34f1.tar.bz2
go-tangerine-e5137c6582c1ffb6943842aed88b3a31a31c34f1.tar.lz
go-tangerine-e5137c6582c1ffb6943842aed88b3a31a31c34f1.tar.xz
go-tangerine-e5137c6582c1ffb6943842aed88b3a31a31c34f1.tar.zst
go-tangerine-e5137c6582c1ffb6943842aed88b3a31a31c34f1.zip
dex: gov: using dex-consensus-core NodeSetCache
Diffstat (limited to 'dex/protocol.go')
-rw-r--r--dex/protocol.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/dex/protocol.go b/dex/protocol.go
index 1907d18c8..8e1db583d 100644
--- a/dex/protocol.go
+++ b/dex/protocol.go
@@ -127,9 +127,9 @@ type txPool interface {
type governance interface {
GetNumChains(uint64) uint32
- NotarySet(uint32, uint64) map[string]struct{}
+ NotarySet(uint64, uint32) (map[string]struct{}, error)
- DKGSet(uint64) map[string]struct{}
+ DKGSet(uint64) (map[string]struct{}, error)
}
type p2pServer interface {