diff options
author | Mission Liao <mission.liao@dexon.org> | 2018-11-02 16:01:35 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-02 16:01:35 +0800 |
commit | 5170bff5f5332fd7782f300cb4a1d63f3cd3664c (patch) | |
tree | c2c345bfc5553741e34165c8df13186ebb849084 /core/test/app_test.go | |
parent | bd5e5b4c79d990d65823b3630c0f76d21af9b52d (diff) | |
download | dexon-consensus-5170bff5f5332fd7782f300cb4a1d63f3cd3664c.tar dexon-consensus-5170bff5f5332fd7782f300cb4a1d63f3cd3664c.tar.gz dexon-consensus-5170bff5f5332fd7782f300cb4a1d63f3cd3664c.tar.bz2 dexon-consensus-5170bff5f5332fd7782f300cb4a1d63f3cd3664c.tar.lz dexon-consensus-5170bff5f5332fd7782f300cb4a1d63f3cd3664c.tar.xz dexon-consensus-5170bff5f5332fd7782f300cb4a1d63f3cd3664c.tar.zst dexon-consensus-5170bff5f5332fd7782f300cb4a1d63f3cd3664c.zip |
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.
Diffstat (limited to 'core/test/app_test.go')
-rw-r--r-- | core/test/app_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
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, }) |