chore: fix all linting (#24101)
This commit is contained in:
@@ -85,6 +85,8 @@ func updateValidators(
|
||||
updates []abci.ValidatorUpdate,
|
||||
event func(route, op, evResult string),
|
||||
) map[string]mockValidator {
|
||||
tb.Helper()
|
||||
|
||||
for _, update := range updates {
|
||||
str := fmt.Sprintf("%X", update.PubKey.GetEd25519())
|
||||
|
||||
|
||||
@@ -79,7 +79,6 @@ func queueOperations(queuedOps OperationQueue, queuedTimeOps, futureOps []simula
|
||||
}
|
||||
|
||||
for _, futureOp := range futureOps {
|
||||
futureOp := futureOp
|
||||
if futureOp.BlockHeight != 0 {
|
||||
if val, ok := queuedOps[futureOp.BlockHeight]; ok {
|
||||
queuedOps[futureOp.BlockHeight] = append(val, futureOp.Op)
|
||||
|
||||
@@ -15,6 +15,7 @@ import (
|
||||
)
|
||||
|
||||
func getTestingMode(tb testing.TB) (testingMode bool, t *testing.T, b *testing.B) {
|
||||
tb.Helper()
|
||||
testingMode = false
|
||||
|
||||
if _t, ok := tb.(*testing.T); ok {
|
||||
|
||||
Reference in New Issue
Block a user