Skip to content
Open
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 node/db/keys.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ var (
derivationL1HeightKey = []byte("LastDerivationL1Height")
)

// encodeBlockNumber encodes an L1 enqueue index as big endian uint64
// encodeEnqueueIndex encodes an L1 enqueue index as big endian uint64
func encodeEnqueueIndex(index uint64) []byte {
enc := make([]byte, 8)
binary.BigEndian.PutUint64(enc, index)
Expand Down
2 changes: 1 addition & 1 deletion tx-submitter/services/rotator.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ func (r *Rotator) UpdateState(clients []iface.L2Client, l1Staking iface.IL1Staki
return nil
}

// GetCurrentSubmitter returns the current sequencer that should be submitting
// CurrentSubmitter returns the current sequencer that should be submitting
func (r *Rotator) CurrentSubmitter(clients []iface.L2Client, l1Staking iface.IL1Staking) (*common.Address, int64, error) {

err := r.UpdateState(clients, l1Staking)
Expand Down