diff options
Diffstat (limited to 'core/test/app_test.go')
-rw-r--r-- | core/test/app_test.go | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/core/test/app_test.go b/core/test/app_test.go index baea838..21d4e24 100644 --- a/core/test/app_test.go +++ b/core/test/app_test.go @@ -81,10 +81,9 @@ func (s *AppTestSuite) deliverBlock( app *App, hash common.Hash, timestamp time.Time) { app.BlockDelivered(types.Block{ - Hash: hash, - Witness: types.Witness{ - Timestamp: timestamp, - }}) + Hash: hash, + ConsensusTimestamp: timestamp, + }) } func (s *AppTestSuite) TestCompare() { |