aboutsummaryrefslogtreecommitdiffstats
path: root/dex/governance.go
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2018-10-31 14:00:13 +0800
committerWei-Ning Huang <w@byzantine-lab.io>2019-06-12 17:27:17 +0800
commit0cbf04193ea79661f191cdaaca8f179d8b5db999 (patch)
tree07be18996fb0524204cd4f58567297350fae933a /dex/governance.go
parent0f189998574d54b8e2d64642b6b689f35a09d23a (diff)
downloadgo-tangerine-0cbf04193ea79661f191cdaaca8f179d8b5db999.tar
go-tangerine-0cbf04193ea79661f191cdaaca8f179d8b5db999.tar.gz
go-tangerine-0cbf04193ea79661f191cdaaca8f179d8b5db999.tar.bz2
go-tangerine-0cbf04193ea79661f191cdaaca8f179d8b5db999.tar.lz
go-tangerine-0cbf04193ea79661f191cdaaca8f179d8b5db999.tar.xz
go-tangerine-0cbf04193ea79661f191cdaaca8f179d8b5db999.tar.zst
go-tangerine-0cbf04193ea79661f191cdaaca8f179d8b5db999.zip
dex: add block gas limit into governance
Diffstat (limited to 'dex/governance.go')
-rw-r--r--dex/governance.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/dex/governance.go b/dex/governance.go
index 69c1e217f..bbb34ca50 100644
--- a/dex/governance.go
+++ b/dex/governance.go
@@ -87,12 +87,6 @@ func (d *DexconGovernance) DexconConfiguration(round uint64) *params.DexconConfi
// Configuration returns the system configuration for consensus core to use.
func (d *DexconGovernance) Configuration(round uint64) *coreTypes.Config {
- // Configuration in round r is activiated on round r + 2.
- if round < 2 {
- round = 0
- } else {
- round -= 2
- }
s := d.getGovStateAtRound(round)
c := s.Configuration()