From 9266dddc75bedfcef0549604a0067f81e709f70d Mon Sep 17 00:00:00 2001 From: William Banfield Date: Tue, 7 Dec 2021 14:40:51 -0500 Subject: [PATCH] use tmtime --- types/proposal_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/proposal_test.go b/types/proposal_test.go index 7a03ca863..a802c262b 100644 --- a/types/proposal_test.go +++ b/types/proposal_test.go @@ -155,7 +155,7 @@ func TestProposalValidateBasic(t *testing.T) { t.Run(tc.testName, func(t *testing.T) { prop := NewProposal( 4, 2, 2, - blockID, time.Now()) + blockID, tmtime.Now()) p := prop.ToProto() err := privVal.SignProposal(context.Background(), "test_chain_id", p) prop.Signature = p.Signature