Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
tsahee committed May 21, 2024
1 parent b3693be commit e8685b3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions staker/block_validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -1097,17 +1097,17 @@ func (v *BlockValidator) Initialize(ctx context.Context) error {
for _, root := range moduleRoots {
if v.redisValidator != nil && validator.SpawnerSupportsModule(v.redisValidator, root) {
v.chosenValidator[root] = v.redisValidator
log.Info("validator chosen", "WasmMosuleRoot", root, "chosen", "redis")
log.Info("validator chosen", "WasmModuleRoot", root, "chosen", "redis")
} else {
for _, spawner := range v.execSpawners {
if validator.SpawnerSupportsModule(spawner, root) {
v.chosenValidator[root] = spawner
log.Info("validator chosen", "WasmMosuleRoot", root, "chosen", spawner.Name())
log.Info("validator chosen", "WasmModuleRoot", root, "chosen", spawner.Name())
break
}
}
if v.chosenValidator[root] == nil {
log.Error("validator not found", "WasmMosuleRoot", root)
log.Error("validator not found", "WasmModuleRoot", root)
}
}
}
Expand Down

0 comments on commit e8685b3

Please sign in to comment.