Skip to content

Commit d6d4a6d

Browse files
committed
lint
1 parent 10b4fae commit d6d4a6d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

local/node_test.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -227,11 +227,12 @@ func TestAttachPeer(t *testing.T) {
227227

228228
// we'll use a Chits message for testing. (We could use any message type.)
229229
preferredID := ids.GenerateTestID()
230+
preferredIDAtHeight := ids.GenerateTestID()
230231
acceptedID := ids.GenerateTestID()
231232
requestID := uint32(42)
232233
chainID := constants.PlatformChainID
233234
// create the Chits message
234-
msg, err := mc.Chits(chainID, requestID, preferredID, acceptedID)
235+
msg, err := mc.Chits(chainID, requestID, preferredID, preferredIDAtHeight, acceptedID)
235236
require.NoError(err)
236237
// send chits to [node]
237238
ok := p.Send(context.Background(), msg)

tests/e2e/e2e_test.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -630,10 +630,11 @@ var _ = ginkgo.Describe("[Start/Remove/Restart/Add/Stop]", func() {
630630
gomega.Ω(err).Should(gomega.BeNil())
631631

632632
preferredID := ids.GenerateTestID()
633+
preferredIDAtHeight := ids.GenerateTestID()
633634
acceptedID := ids.GenerateTestID()
634635
requestID := uint32(42)
635636
chainID := avago_constants.PlatformChainID
636-
msg, err := mc.Chits(chainID, requestID, preferredID, acceptedID)
637+
msg, err := mc.Chits(chainID, requestID, preferredID, preferredIDAtHeight, acceptedID)
637638
gomega.Ω(err).Should(gomega.BeNil())
638639

639640
ctx, cancel = context.WithTimeout(context.Background(), 15*time.Second)

0 commit comments

Comments
 (0)