aboutsummaryrefslogtreecommitdiffstats
path: root/blockdb/level-db_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'blockdb/level-db_test.go')
-rw-r--r--blockdb/level-db_test.go6
1 files changed, 2 insertions, 4 deletions
diff --git a/blockdb/level-db_test.go b/blockdb/level-db_test.go
index d1c8146..06829f0 100644
--- a/blockdb/level-db_test.go
+++ b/blockdb/level-db_test.go
@@ -73,9 +73,7 @@ func (s *LevelDBTestSuite) TestBasicUsage() {
// Test Update.
now := time.Now().UTC()
- queried.Timestamps = map[types.ValidatorID]time.Time{
- queried.ProposerID: now,
- }
+ queried.Timestamp = now
err = db.Update(queried)
s.Nil(err)
@@ -84,7 +82,7 @@ func (s *LevelDBTestSuite) TestBasicUsage() {
queried, err = db.Get(block1.Hash)
s.Nil(err)
- s.Equal(now, queried.Timestamps[queried.ProposerID])
+ s.Equal(now, queried.Timestamp)
}
func (s *LevelDBTestSuite) TestSyncIndex() {