aboutsummaryrefslogtreecommitdiffstats
path: root/dex/backend.go
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2019-01-13 16:21:17 +0800
committerWei-Ning Huang <w@dexon.org>2019-04-09 13:50:01 +0800
commit152d11419a98d8379f4039f82ccb078d7345134b (patch)
tree893a7e12d6b55a9603e0facf3e1c6146e2cfaf60 /dex/backend.go
parentcad9a9221dba6b6739fbb07fefdb2c1fb1ec1d5c (diff)
downloaddexon-152d11419a98d8379f4039f82ccb078d7345134b.tar
dexon-152d11419a98d8379f4039f82ccb078d7345134b.tar.gz
dexon-152d11419a98d8379f4039f82ccb078d7345134b.tar.bz2
dexon-152d11419a98d8379f4039f82ccb078d7345134b.tar.lz
dexon-152d11419a98d8379f4039f82ccb078d7345134b.tar.xz
dexon-152d11419a98d8379f4039f82ccb078d7345134b.tar.zst
dexon-152d11419a98d8379f4039f82ccb078d7345134b.zip
consensus: implement DEXON cryptoeconomics v4.0 (#145)
Diffstat (limited to 'dex/backend.go')
-rw-r--r--dex/backend.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/dex/backend.go b/dex/backend.go
index c7e0773ad..88cfa3033 100644
--- a/dex/backend.go
+++ b/dex/backend.go
@@ -160,7 +160,7 @@ func New(ctx *node.ServiceContext, config *Config) (*Dexon, error) {
dex.app = NewDexconApp(dex.txPool, dex.blockchain, dex.governance, chainDb, config)
// Set config fetcher so engine can fetch current system configuration from state.
- engine.SetConfigFetcher(dex.governance)
+ engine.SetGovStateFetcher(dex.governance)
dMoment := time.Unix(config.DMoment, int64(0))
log.Info("DEXON Consensus DMoment", "time", dMoment)