diff options
Diffstat (limited to 'dex/governance.go')
-rw-r--r-- | dex/governance.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dex/governance.go b/dex/governance.go index ec029f2f1..0d5a7c926 100644 --- a/dex/governance.go +++ b/dex/governance.go @@ -68,7 +68,7 @@ func NewDexconGovernance(backend *DexAPIBackend, chainConfig *params.ChainConfig // DexconConfiguration return raw config in state. func (d *DexconGovernance) DexconConfiguration(round uint64) *params.DexconConfig { - return d.GetConfigHelper(round).Configuration() + return d.GetGovStateHelperAtRound(round).Configuration() } func (d *DexconGovernance) sendGovTx(ctx context.Context, data []byte) error { @@ -136,7 +136,7 @@ func (d *DexconGovernance) ProposeCRS(round uint64, signedCRS []byte) { // NodeSet returns the current node set. func (d *DexconGovernance) NodeSet(round uint64) []coreCrypto.PublicKey { - s := d.GetConfigHelper(round) + s := d.GetGovStateHelperAtRound(round) var pks []coreCrypto.PublicKey for _, n := range s.QualifiedNodes() { |