diff options
author | Wei-Ning Huang <w@dexon.org> | 2018-11-16 17:26:50 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2018-12-19 20:54:27 +0800 |
commit | 618b38d6cf2703b2425a55561489cbe1af5f8f53 (patch) | |
tree | 66d3523a33a05e356c47d314018a69d4dc73f78f /dex/backend.go | |
parent | 2c179f34f8ec99ef2b877604470a185fb4c3ae67 (diff) | |
download | dexon-618b38d6cf2703b2425a55561489cbe1af5f8f53.tar dexon-618b38d6cf2703b2425a55561489cbe1af5f8f53.tar.gz dexon-618b38d6cf2703b2425a55561489cbe1af5f8f53.tar.bz2 dexon-618b38d6cf2703b2425a55561489cbe1af5f8f53.tar.lz dexon-618b38d6cf2703b2425a55561489cbe1af5f8f53.tar.xz dexon-618b38d6cf2703b2425a55561489cbe1af5f8f53.tar.zst dexon-618b38d6cf2703b2425a55561489cbe1af5f8f53.zip |
core: fix light node synchronization issue (#30)
InsertChain() need to record the correct roundHeight mapping in order to
process snapshotRoundHeight() governance method correctly.
Diffstat (limited to 'dex/backend.go')
-rw-r--r-- | dex/backend.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dex/backend.go b/dex/backend.go index 79b97b4ba..a16c891e1 100644 --- a/dex/backend.go +++ b/dex/backend.go @@ -131,6 +131,7 @@ func New(ctx *node.ServiceContext, config *Config) (*Dexon, error) { EnablePreimageRecording: config.EnablePreimageRecording, EWASMInterpreter: config.EWASMInterpreter, EVMInterpreter: config.EVMInterpreter, + IsBlockProposer: config.BlockProposerEnabled, } cacheConfig = &core.CacheConfig{Disabled: config.NoPruning, TrieCleanLimit: config.TrieCleanCache, TrieDirtyLimit: config.TrieDirtyCache, TrieTimeLimit: config.TrieTimeout} ) |