aboutsummaryrefslogtreecommitdiffstats
path: root/core/consensus_test.go
diff options
context:
space:
mode:
authorMission Liao <mission.liao@dexon.org>2018-12-27 10:30:17 +0800
committerGitHub <noreply@github.com>2018-12-27 10:30:17 +0800
commit2a8254195f56cc10252753f828458b6efe222558 (patch)
tree568812179ac9485667e4a35a5c01710c900868e3 /core/consensus_test.go
parentca82c3c26ac206c2c81dfa636902aacf327381b1 (diff)
downloadtangerine-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.go2
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 {