Skip to content

Commit 68997e7

Browse files
tac0turtletac0turtle
authored andcommitted
linting
1 parent 7b4011c commit 68997e7

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

block/internal/submitting/da_submitter_test.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,6 @@ func TestDASubmitter_SubmitData_Success(t *testing.T) {
261261

262262
// Create test signer
263263
addr, pub, signer := createTestSigner(t)
264-
gen.ProposerAddress = addr
265264

266265
// Update submitter genesis to use correct proposer
267266
submitter.genesis.ProposerAddress = addr
@@ -349,7 +348,6 @@ func TestDASubmitter_SubmitData_SkipsEmptyData(t *testing.T) {
349348

350349
// Create test signer
351350
addr, pub, signer := createTestSigner(t)
352-
gen.ProposerAddress = addr
353351

354352
// Create empty data
355353
emptyData := &types.Data{

block/internal/syncing/p2p_handler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ func (h *P2PHandler) ProcessHeight(ctx context.Context, height uint64, heightInC
8181
}
8282
return err
8383
}
84-
if got := p2pHeader.SignedHeader.Height(); got != height {
84+
if got := p2pHeader.Height(); got != height {
8585
err := fmt.Errorf("header height mismatch: requested %d, got %d", height, got)
8686
h.logger.Warn().Uint64("requested_height", height).Uint64("header_height", got).Err(err).Msg("discarding mismatched header from P2P")
8787
return err

0 commit comments

Comments
 (0)