Skip to content

Commit

Permalink
fix some err
Browse files Browse the repository at this point in the history
  • Loading branch information
trestinlsd committed Sep 26, 2024
1 parent 8f67eac commit 1864531
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion x/avs/keeper/avs.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,9 @@ func (k *Keeper) GetAVSInfoByTaskAddress(ctx sdk.Context, taskAddr string) types
k.IterateAVSInfo(ctx, func(_ int64, avsInfo types.AVSInfo) (stop bool) {
if taskAddr == avsInfo.GetTaskAddr() {
avs = avsInfo
return true // stop because we found the AVS
}
return true
return false
})
return avs
}
Expand Down

0 comments on commit 1864531

Please sign in to comment.