diff options
author | Wei-Ning Huang <w@dexon.org> | 2019-01-13 16:21:17 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@byzantine-lab.io> | 2019-06-12 17:27:21 +0800 |
commit | 56680e215e7e27ab8896d782876ee64881cae6ff (patch) | |
tree | 40daa411b7f1ee239b702ccc7987b6130892d7e6 /dex/backend.go | |
parent | f82a81c6fa36c8ee6ba6a55e0662930c8f0d2658 (diff) | |
download | go-tangerine-56680e215e7e27ab8896d782876ee64881cae6ff.tar go-tangerine-56680e215e7e27ab8896d782876ee64881cae6ff.tar.gz go-tangerine-56680e215e7e27ab8896d782876ee64881cae6ff.tar.bz2 go-tangerine-56680e215e7e27ab8896d782876ee64881cae6ff.tar.lz go-tangerine-56680e215e7e27ab8896d782876ee64881cae6ff.tar.xz go-tangerine-56680e215e7e27ab8896d782876ee64881cae6ff.tar.zst go-tangerine-56680e215e7e27ab8896d782876ee64881cae6ff.zip |
consensus: implement DEXON cryptoeconomics v4.0 (#145)
Diffstat (limited to 'dex/backend.go')
-rw-r--r-- | dex/backend.go | 2 |
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) |