From 18645319338c414d120d219ace60705bdffa1af3 Mon Sep 17 00:00:00 2001 From: trestin Date: Thu, 26 Sep 2024 15:20:49 +0800 Subject: [PATCH] fix some err --- x/avs/keeper/avs.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/x/avs/keeper/avs.go b/x/avs/keeper/avs.go index 0770d621f..88029157b 100644 --- a/x/avs/keeper/avs.go +++ b/x/avs/keeper/avs.go @@ -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 }