From 72da553ed95bc820a827b680cd341fae20f4f79f Mon Sep 17 00:00:00 2001 From: Anton Kaliaev Date: Wed, 13 Dec 2017 22:23:44 -0600 Subject: [PATCH] add missing Timestamp to Vote Fixes #974 --- types/block_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/types/block_test.go b/types/block_test.go index f69de33f..25e5a76e 100644 --- a/types/block_test.go +++ b/types/block_test.go @@ -2,6 +2,7 @@ package types import ( "testing" + "time" "github.com/stretchr/testify/require" crypto "github.com/tendermint/go-crypto" @@ -65,6 +66,7 @@ func makeCommit(blockID BlockID, height int64, round int, Round: round, Type: VoteTypePrecommit, BlockID: blockID, + Timestamp: time.Now().UTC(), } // all sign