1
0
Fork 0
mirror of https://github.com/eosswedenorg/antelope-api-healthcheck synced 2026-06-19 05:10:02 +02:00

src/api/test.go: rename from TestApi to DebugApi

This commit is contained in:
Henrik Hautakoski 2022-10-03 16:15:25 +02:00
parent bda40bf1d5
commit edb063722b
No known key found for this signature in database
GPG key ID: 608414D93E862CCD
2 changed files with 10 additions and 10 deletions

View file

@ -58,8 +58,8 @@ func ParseRequest(request string) (api.ApiInterface, error) {
return api.NewEosioV2(a.url, a.host, int64(a.num_blocks)), nil
case "contract":
return api.NewEosioContract(a.url, float64(a.num_blocks / 2)), nil
case "test":
return api.NewTestApi(a.url), nil
case "debug":
return api.NewDebugApi(a.url), nil
}
return nil, fmt.Errorf("Invalid API '%s'", p[0])