From 0a4f5d1358d3e7f486de1947b5031420c79c98f1 Mon Sep 17 00:00:00 2001 From: Matt Curtis Date: Thu, 7 Mar 2024 14:33:50 +0000 Subject: [PATCH] lint --- go/enclave/components/sigverifier.go | 2 +- integration/simulation/validate_chain.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/go/enclave/components/sigverifier.go b/go/enclave/components/sigverifier.go index a3acd15a0e..6ed2947620 100644 --- a/go/enclave/components/sigverifier.go +++ b/go/enclave/components/sigverifier.go @@ -26,7 +26,7 @@ func NewSignatureValidator(seqID gethcommon.Address, storage storage.Storage) (* } // CheckSequencerSignature - verifies the signature against the registered sequencer -func (sigChecker *SignatureValidator) CheckSequencerSignature(headerHash gethcommon.Hash, sigR *big.Int, sigS *big.Int) error { +func (sigChecker *SignatureValidator) CheckSequencerSignature(_ gethcommon.Hash, sigR *big.Int, sigS *big.Int) error { if sigR == nil || sigS == nil { return fmt.Errorf("missing signature on batch") } diff --git a/integration/simulation/validate_chain.go b/integration/simulation/validate_chain.go index 5a47fd487a..c7010f1747 100644 --- a/integration/simulation/validate_chain.go +++ b/integration/simulation/validate_chain.go @@ -221,7 +221,7 @@ func checkBlockchainOfEthereumNode(t *testing.T, node ethadapter.EthClient, minH // this function only performs a very brief check. // the ultimate check that everything works fine is that each node is able to respond to queries // and has processed all batches correctly. -func checkRollups(t *testing.T, s *Simulation, nodeIdx int, rollups []*common.ExtRollup) { +func checkRollups(t *testing.T, _ *Simulation, nodeIdx int, rollups []*common.ExtRollup) { if len(rollups) < 2 { t.Errorf("Node %d: Found less than two submitted rollups! Successful simulation should always produce more than 2", nodeIdx) }