File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed
Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ type Encoder struct {
3939
4040// NewEncoder creates a new SSZ encoder.
4141// If memoryBudget is > 0, limits concurrent SSZ encoding to that many bytes.
42- // If memoryBudget is <= 0, no limit is applied (original behavior) .
42+ // If memoryBudget is <= 0, no limit is applied.
4343func NewEncoder (customPreset bool , memoryBudget int64 ) * Encoder {
4444 var sem * semaphore.Weighted
4545 if memoryBudget > 0 {
Original file line number Diff line number Diff line change @@ -89,7 +89,6 @@ func (c *Block) cleanupBlock(block *spec.VersionedSignedBeaconBlock) error {
8989 return err
9090 }
9191
92- // Keys must match the types used in Add(): slot (phase0.Slot) and stateRoot (phase0.Root)
9392 c .slotToBlockRoot .Delete (slot )
9493 c .stateRootToBlockRoot .Delete (stateRoot )
9594
You can’t perform that action at this time.
0 commit comments