Skip to content

Commit 924d382

Browse files
committed
chore: remove redundant code
1 parent 416c730 commit 924d382

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

cmd/devp2p/internal/ethtest/conn.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ var (
4040
DisablePointerAddresses: true,
4141
SortKeys: true,
4242
}
43-
timeout = 3 * time.Second
43+
timeout = 2 * time.Second
4444
)
4545

4646
// dial attempts to dial the given node and perform a handshake, returning the

core/txpool/blobpool/lookup.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import (
2222

2323
type txMetadata struct {
2424
id uint64 // the billy id of transction
25-
size uint64 // the RLP encoded size of transaction (blobs are excluded)
25+
size uint64 // the RLP encoded size of transaction (blobs are included)
2626
}
2727

2828
// lookup maps blob versioned hashes to transaction hashes that include them,

crypto/kzg4844/kzg4844.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,6 @@ type Claim [32]byte
9999
// useCKZG controls whether the cryptography should use the Go or C backend.
100100
var useCKZG atomic.Bool
101101

102-
func init() {
103-
UseCKZG(true)
104-
}
105-
106102
// UseCKZG can be called to switch the default Go implementation of KZG to the C
107103
// library if for some reason the user wishes to do so (e.g. consensus bug in one
108104
// or the other).

0 commit comments

Comments
 (0)