Merge pull request #975 from tendermint/974-fix-test-in-develop

add missing Timestamp to Vote
This commit is contained in:
Ethan Buchman
2017-12-14 09:22:11 -05:00
committed by GitHub

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