aboutsummaryrefslogtreecommitdiffstats
path: root/core/blocklattice_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/blocklattice_test.go')
-rw-r--r--core/blocklattice_test.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/core/blocklattice_test.go b/core/blocklattice_test.go
index 0f78dc5..835c35e 100644
--- a/core/blocklattice_test.go
+++ b/core/blocklattice_test.go
@@ -20,6 +20,7 @@ package core
import (
"sort"
"testing"
+ "time"
"github.com/stretchr/testify/suite"
@@ -42,15 +43,14 @@ type TestApp struct {
Early bool
}
-func (a *TestApp) ValidateBlock(b *types.Block) bool {
- return true
-}
-
-func (a *TestApp) Deliver(blocks []*types.Block, early bool) {
+func (a *TestApp) TotalOrderingDeliver(blocks []*types.Block, early bool) {
a.Outputs = append(a.Outputs, blocks...)
a.Early = early
}
+func (a *TestApp) DeliverBlock(blockHashes common.Hash, timestamp time.Time) {
+}
+
func (a *TestApp) Clear() {
a.Outputs = nil
a.Early = false