aboutsummaryrefslogtreecommitdiffstats
path: root/core/test/app.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/test/app.go')
-rw-r--r--core/test/app.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/test/app.go b/core/test/app.go
index 228edb4..7477329 100644
--- a/core/test/app.go
+++ b/core/test/app.go
@@ -162,7 +162,7 @@ func (app *App) TotalOrderingDelivered(blockHashes common.Hashes, mode uint32) {
// BlockDelivered implements Application interface.
func (app *App) BlockDelivered(
- blockHash common.Hash, result types.FinalizationResult) {
+ blockHash common.Hash, _ types.Position, result types.FinalizationResult) {
func() {
app.deliveredLock.Lock()
defer app.deliveredLock.Unlock()
@@ -220,6 +220,7 @@ func (app *App) Compare(other *App) error {
// Verify checks the integrity of date received by this App instance.
func (app *App) Verify() error {
+ // TODO(mission): verify blocks' position when delivered.
app.deliveredLock.RLock()
defer app.deliveredLock.RUnlock()