From 5170bff5f5332fd7782f300cb4a1d63f3cd3664c Mon Sep 17 00:00:00 2001 From: Mission Liao Date: Fri, 2 Nov 2018 16:01:35 +0800 Subject: core: block deliver with position (#289) This info is required when application layer needs to do something related to the underlying DAG, not just compaction chain. --- core/test/app_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/test/app_test.go') diff --git a/core/test/app_test.go b/core/test/app_test.go index eb14039..4a7c4b9 100644 --- a/core/test/app_test.go +++ b/core/test/app_test.go @@ -82,7 +82,7 @@ func (s *AppTestSuite) deliverBlockWithTimeFromSequenceLength( func (s *AppTestSuite) deliverBlock( app *App, hash common.Hash, timestamp time.Time, height uint64) { - app.BlockDelivered(hash, types.FinalizationResult{ + app.BlockDelivered(hash, types.Position{}, types.FinalizationResult{ Timestamp: timestamp, Height: height, }) -- cgit v1.2.3