Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion shared/services/flashbots/bundle.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func (b *Bundle) AddTransactions(txs []*types.Transaction) {
b.transactions = append(b.transactions, txs...)
}

// SetBlockNumber sets the block number for which this bundle is valid
// SetTargetBlockNumber sets the block number for which this bundle is valid
// If set to 0, the bundle is valid for the next block
func (b *Bundle) SetTargetBlockNumber(blocknumber uint64) error {
if b.targetBlocknumber != 0 {
Expand Down
2 changes: 1 addition & 1 deletion shared/services/rewards/ssz_types/rewards-file-v5.go
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ func NewNodeReward_v2(network Layer, address Address) *NodeReward_v2 {
}
}

// NodeRewards should implement sort.Interface to make it easier to sort.
// NodeRewards_v2 should implement sort.Interface to make it easier to sort.
func (n NodeRewards_v2) Len() int {
return len(n)
}
Expand Down
2 changes: 1 addition & 1 deletion shared/services/state/critical-duties-slots.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ type CriticalDutiesSlots struct {
CriticalDuties map[string][]uint64
}

// Gets the critical duties slots for a given state as if it were the final state in a epochs epoch interval
// Gets the critical duties epochs for a given state as if it were the final state in the given epoch interval
func NewCriticalDutiesEpochs(epochs uint64, state *NetworkStateIndex) *CriticalDutiesEpochs {
criticalDuties := &CriticalDutiesEpochs{
CriticalDuties: make(map[uint64][]string),
Expand Down
Loading