Skip to content

Commit fd9ff51

Browse files
committed
fix the logging error
1 parent d2042e0 commit fd9ff51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x/gridnode/keeper/keeper.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ func (k Keeper) GetPublicKeyForDelegator(ctx context.Context, delegator sdk.AccA
393393

394394
bz := store.Get(k.keyForDelegator(delegator))
395395
if bz == nil {
396-
return "", errors.New("delegator not found")
396+
return "", fmt.Errorf("delegator not found")
397397
}
398398

399399
var delegationData types.DelegationData

0 commit comments

Comments
 (0)