From a7d394e8c08fe9ccadc06c287d680c0632f414d7 Mon Sep 17 00:00:00 2001 From: Sonic Date: Tue, 16 Oct 2018 10:33:24 +0800 Subject: dex: gov: using dex-consensus-core NodeSetCache --- dex/protocol.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dex/protocol.go') 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 { -- cgit v1.2.3