diff options
author | Mission Liao <mission.liao@dexon.org> | 2018-12-27 10:30:17 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-27 10:30:17 +0800 |
commit | 2a8254195f56cc10252753f828458b6efe222558 (patch) | |
tree | 568812179ac9485667e4a35a5c01710c900868e3 /core/consensus_test.go | |
parent | ca82c3c26ac206c2c81dfa636902aacf327381b1 (diff) | |
download | tangerine-consensus-2a8254195f56cc10252753f828458b6efe222558.tar tangerine-consensus-2a8254195f56cc10252753f828458b6efe222558.tar.gz tangerine-consensus-2a8254195f56cc10252753f828458b6efe222558.tar.bz2 tangerine-consensus-2a8254195f56cc10252753f828458b6efe222558.tar.lz tangerine-consensus-2a8254195f56cc10252753f828458b6efe222558.tar.xz tangerine-consensus-2a8254195f56cc10252753f828458b6efe222558.tar.zst tangerine-consensus-2a8254195f56cc10252753f828458b6efe222558.zip |
test: add witness preparation/verification (#386)
Diffstat (limited to 'core/consensus_test.go')
-rw-r--r-- | core/consensus_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/consensus_test.go b/core/consensus_test.go index d26e102..7748494 100644 --- a/core/consensus_test.go +++ b/core/consensus_test.go @@ -449,7 +449,7 @@ func (s *ConsensusTestSuite) TestSimpleDeliverBlock() { timestamps[3] = b30.Timestamp t, err := getMedianTime(timestamps) req.NoError(err) - req.Equal(t, app.Delivered[b11.Hash].ConsensusTime) + req.Equal(t, app.Delivered[b11.Hash].Result.Timestamp) } for _, obj := range objs { if nb, ok := obj.con.app.(*nonBlocking); ok { |