Commit b02c4969 authored by Joshua Gutow's avatar Joshua Gutow Committed by GitHub

Merge pull request #8552 from Chomtana/typo-op-batcher

chore: fix op-batcher typo
parents d118d119 0e85efad
......@@ -121,7 +121,7 @@ func ChannelManager_Clear(t *testing.T, batchType uint) {
m := NewChannelManager(log, metrics.NoopMetrics, ChannelConfig{
// Need to set the channel timeout here so we don't clear pending
// channels on confirmation. This would result in [TxConfirmed]
// clearing confirmed transactions, and reseting the pendingChannels map
// clearing confirmed transactions, and resetting the pendingChannels map
ChannelTimeout: 10,
// Have to set the max frame size here otherwise the channel builder would not
// be able to output any frames
......
......@@ -112,7 +112,7 @@ func TestChannelTxConfirmed(t *testing.T) {
m := NewChannelManager(log, metrics.NoopMetrics, ChannelConfig{
// Need to set the channel timeout here so we don't clear pending
// channels on confirmation. This would result in [TxConfirmed]
// clearing confirmed transactions, and reseting the pendingChannels map
// clearing confirmed transactions, and resetting the pendingChannels map
ChannelTimeout: 10,
}, &rollup.Config{})
m.Clear()
......
......@@ -61,7 +61,7 @@ type Metrics struct {
info prometheus.GaugeVec
up prometheus.Gauge
// label by openend, closed, fully_submitted, timed_out
// label by opened, closed, fully_submitted, timed_out
channelEvs opmetrics.EventVec
pendingBlocksCount prometheus.GaugeVec
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment