add missing Timestamp to Vote

Fixes #974
This commit is contained in:
Anton Kaliaev 2017-12-13 22:23:44 -06:00
parent b78606d94f
commit 72da553ed9
No known key found for this signature in database
GPG Key ID: 7B6881D965918214
1 changed files with 2 additions and 0 deletions

View File

@ -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