Skip to content

Commit

Permalink
Update precompiles/avs/query.go
Browse files Browse the repository at this point in the history
Co-authored-by: Max <82761650+MaxMustermann2@users.noreply.github.com>
  • Loading branch information
trestinlsd and MaxMustermann2 authored Jan 6, 2025
1 parent ec07722 commit 497ecf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion precompiles/avs/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func (p Precompile) GetOptedInOperatorAccAddrs(

addr, ok := args[0].(common.Address)
if !ok || addr == (common.Address{}) {
return nil, fmt.Errorf(exocmn.ErrContractInputParamOrType, 0, "string", addr)
return nil, fmt.Errorf(exocmn.ErrContractInputParamOrType, 0, "common.Address", addr)
}

list, err := p.avsKeeper.GetOperatorKeeper().GetOptedInOperatorListByAVS(ctx, strings.ToLower(addr.String()))
Expand Down

0 comments on commit 497ecf8

Please sign in to comment.