diff options
author | Sonic <sonic@cobinhood.com> | 2018-10-16 10:33:24 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-03-12 12:19:09 +0800 |
commit | a7d394e8c08fe9ccadc06c287d680c0632f414d7 (patch) | |
tree | 057773ba092434ccdd48fdd2cb2f5a6cb17c5a0a /dex/protocol.go | |
parent | 222699705e6fc1d6e3a645b8ad654ea71f99f506 (diff) | |
download | dexon-a7d394e8c08fe9ccadc06c287d680c0632f414d7.tar dexon-a7d394e8c08fe9ccadc06c287d680c0632f414d7.tar.gz dexon-a7d394e8c08fe9ccadc06c287d680c0632f414d7.tar.bz2 dexon-a7d394e8c08fe9ccadc06c287d680c0632f414d7.tar.lz dexon-a7d394e8c08fe9ccadc06c287d680c0632f414d7.tar.xz dexon-a7d394e8c08fe9ccadc06c287d680c0632f414d7.tar.zst dexon-a7d394e8c08fe9ccadc06c287d680c0632f414d7.zip |
dex: gov: using dex-consensus-core NodeSetCache
Diffstat (limited to 'dex/protocol.go')
-rw-r--r-- | dex/protocol.go | 4 |
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 { |