diff options
author | Wei-Ning Huang <w@dexon.org> | 2019-02-25 19:35:06 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 21:32:57 +0800 |
commit | b708ec0f082d431dfe6d56882d58043811647ac7 (patch) | |
tree | 575195174be8546146d64b79760288b5f5a8e7b4 /core/headerchain.go | |
parent | e83bcc1097d49b46b79131e546f1270b9192cc05 (diff) | |
download | dexon-b708ec0f082d431dfe6d56882d58043811647ac7.tar dexon-b708ec0f082d431dfe6d56882d58043811647ac7.tar.gz dexon-b708ec0f082d431dfe6d56882d58043811647ac7.tar.bz2 dexon-b708ec0f082d431dfe6d56882d58043811647ac7.tar.lz dexon-b708ec0f082d431dfe6d56882d58043811647ac7.tar.xz dexon-b708ec0f082d431dfe6d56882d58043811647ac7.tar.zst dexon-b708ec0f082d431dfe6d56882d58043811647ac7.zip |
core: vm: flatten governance
Diffstat (limited to 'core/headerchain.go')
-rw-r--r-- | core/headerchain.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/headerchain.go b/core/headerchain.go index 17cedffdd..946b96f18 100644 --- a/core/headerchain.go +++ b/core/headerchain.go @@ -538,7 +538,7 @@ func (hc *HeaderChain) verifyDexonHeader(header *types.Header, return fmt.Errorf("round mismatch") } - gs := gov.GetGovStateHelperAtRound(header.Round) + gs := gov.GetStateForConfigAtRound(header.Round) config := gs.Configuration() if header.GasLimit != config.BlockGasLimit { return fmt.Errorf("block gas limit mismatch") |