Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
agouin committed Dec 1, 2023
1 parent df21b96 commit b0a4ba3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion signer/cosigner_nonce_cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,10 @@ func (m *movingAverage) add(
break
}
}
m.items = append([]movingAverageItem{{timeSinceLastReconcile: timeSinceLastReconcile, noncesPerMinute: noncesPerMinute}}, m.items[:keep+1]...)
m.items = append(
[]movingAverageItem{{timeSinceLastReconcile: timeSinceLastReconcile, noncesPerMinute: noncesPerMinute}},
m.items[:keep+1]...,
)
}

func (m *movingAverage) average() float64 {
Expand Down

0 comments on commit b0a4ba3

Please sign in to comment.