Browse Source

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

add missing Timestamp to Vote
pull/979/head
Ethan Buchman 7 years ago
committed by GitHub
parent
commit
21d030dbfb
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      types/block_test.go

+ 2
- 0
types/block_test.go 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


Loading…
Cancel
Save