diff options
author | Haoping Ku <haoping.ku@dexon.org> | 2018-10-19 11:43:46 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-19 11:43:46 +0800 |
commit | 6399946a1906190b140b546591a0f02e6199303c (patch) | |
tree | ea7c07b4d430a1ab9322f4cd17d31eec52170318 /core/test/stopper_test.go | |
parent | 6f672ebbd27a97815029050e4538f6d93d273771 (diff) | |
download | dexon-consensus-6399946a1906190b140b546591a0f02e6199303c.tar dexon-consensus-6399946a1906190b140b546591a0f02e6199303c.tar.gz dexon-consensus-6399946a1906190b140b546591a0f02e6199303c.tar.bz2 dexon-consensus-6399946a1906190b140b546591a0f02e6199303c.tar.lz dexon-consensus-6399946a1906190b140b546591a0f02e6199303c.tar.xz dexon-consensus-6399946a1906190b140b546591a0f02e6199303c.tar.zst dexon-consensus-6399946a1906190b140b546591a0f02e6199303c.zip |
core: total-ordering: change early flag to mode (#227)
* core: total-ordering: change early flag to mode
Diffstat (limited to 'core/test/stopper_test.go')
-rw-r--r-- | core/test/stopper_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/test/stopper_test.go b/core/test/stopper_test.go index e9954b0..7678f99 100644 --- a/core/test/stopper_test.go +++ b/core/test/stopper_test.go @@ -22,6 +22,7 @@ import ( "time" "github.com/dexon-foundation/dexon-consensus-core/common" + "github.com/dexon-foundation/dexon-consensus-core/core" "github.com/dexon-foundation/dexon-consensus-core/core/blockdb" "github.com/dexon-foundation/dexon-consensus-core/core/types" "github.com/stretchr/testify/suite" @@ -59,7 +60,7 @@ func (s *StopperTestSuite) TestStopByConfirmedBlocks() { for _, h := range hashes { app.StronglyAcked(h) } - app.TotalOrderingDelivered(hashes, false) + app.TotalOrderingDelivered(hashes, core.TotalOrderingModeNormal) for _, h := range hashes { app.BlockDelivered(h, types.FinalizationResult{ Timestamp: time.Time{}, |