attestantio/go-eth2-client

Keep url prefix when calling events api

alex88 opened this issue · 2 comments

When using an url like this one https://domain/prefix/ all the requests I've tested work fine except for the events one which replaces the path with the /eth/v1/events one.

Probably because the other GET/POST requests append the request url to the basepath compared to the events one which uses resolveReference which replaces the path since the events endpoint starts with a /

mcdee commented

Thank you for reporting this issue. A fix is available at #30 please could you try this out and confirm if it addresses the problem?

Thanks @mcdee, the fix worked! Sorry for the delay