Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
dudong2 committed Aug 19, 2024
1 parent 53c8491 commit f7c7a08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/rpc/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ func CallWithError(method string, params interface{}) (*Response, error) {
}

if rpcRes.Error != nil {
return nil, fmt.Errorf(rpcRes.Error.Message)
return nil, fmt.Errorf("%s", rpcRes.Error.Message)
}

return rpcRes, nil
Expand Down

0 comments on commit f7c7a08

Please sign in to comment.