aboutsummaryrefslogtreecommitdiffstats
path: root/core/nonblocking_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/nonblocking_test.go')
-rw-r--r--core/nonblocking_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/nonblocking_test.go b/core/nonblocking_test.go
index cad7def..b1f1cb5 100644
--- a/core/nonblocking_test.go
+++ b/core/nonblocking_test.go
@@ -68,7 +68,7 @@ func (app *slowApp) StronglyAcked(blockHash common.Hash) {
app.stronglyAcked[blockHash] = struct{}{}
}
-func (app *slowApp) TotalOrderingDelivered(blockHashes common.Hashes, early bool) {
+func (app *slowApp) TotalOrderingDelivered(blockHashes common.Hashes, mode uint32) {
time.Sleep(app.sleep)
for _, hash := range blockHashes {
app.totalOrderingDelivered[hash] = struct{}{}
@@ -140,7 +140,7 @@ func (s *NonBlockingTestSuite) TestNonBlocking() {
nbModule.StronglyAcked(hash)
nbModule.BlockDelivered(hash, types.FinalizationResult{})
}
- nbModule.TotalOrderingDelivered(hashes, true)
+ nbModule.TotalOrderingDelivered(hashes, TotalOrderingModeEarly)
// nonBlocking should be non-blocking.
s.True(shouldFinish.After(time.Now().UTC()))