diff options
author | Jimmy Hu <jimmy.hu@dexon.org> | 2019-04-02 19:04:17 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@byzantine-lab.io> | 2019-06-15 22:09:55 +0800 |
commit | 35917e287ceb506f98c80c9e25ead762738d58b5 (patch) | |
tree | a338e1c78c6a6a70ba803631c313b9bfab275c9a /vendor/github.com/dexon-foundation/dexon-consensus/core/utils/round-event.go | |
parent | bd0a9ffa31539f43e4deb3aaf6e48a72571253fa (diff) | |
download | go-tangerine-35917e287ceb506f98c80c9e25ead762738d58b5.tar.gz go-tangerine-35917e287ceb506f98c80c9e25ead762738d58b5.tar.zst go-tangerine-35917e287ceb506f98c80c9e25ead762738d58b5.zip |
vendor: sync to latest core
Diffstat (limited to 'vendor/github.com/dexon-foundation/dexon-consensus/core/utils/round-event.go')
-rw-r--r-- | vendor/github.com/dexon-foundation/dexon-consensus/core/utils/round-event.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/dexon-foundation/dexon-consensus/core/utils/round-event.go b/vendor/github.com/dexon-foundation/dexon-consensus/core/utils/round-event.go index 472c7247b..602d2da16 100644 --- a/vendor/github.com/dexon-foundation/dexon-consensus/core/utils/round-event.go +++ b/vendor/github.com/dexon-foundation/dexon-consensus/core/utils/round-event.go @@ -79,7 +79,7 @@ func (e RoundEventParam) NextRoundHeight() uint64 { // NextTouchNodeSetCacheHeight returns the height to touch the node set cache. func (e RoundEventParam) NextTouchNodeSetCacheHeight() uint64 { - return e.BeginHeight + e.Config.RoundLength*9/10 + return e.BeginHeight + e.Config.RoundLength/2 } // NextDKGResetHeight returns the height to reset DKG for next period. |